-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (58 loc) · 1.49 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (58 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
[project]
name = "legendkit"
dynamic = ["version"]
description = "Legend creation and manipulation with ease for matplotlib"
requires-python = ">=3.8"
authors = [
{name = "Mr-Milk", email = "yzheng@cemm.at"},
]
license = {file = "LICENSE"}
readme = "README.md"
repository = "https://github.com/Marsilea-viz/legendkit"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Framework :: Matplotlib",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Visualization"
]
dependencies = [
"matplotlib"
]
[dependency-groups]
dev = [
"furo>=2024.8.6",
"ipykernel>=6.29.5",
"mpl-fontkit>=0.5.1",
"numpydoc>=1.7.0",
"prek>=0.4.4",
"pytest>=8.3.5",
"sphinx>=7.1.2",
"sphinx-gallery>=0.19.0",
"taskipy>=1.14.1",
]
[tool.hatch.build.targets.sdist]
include = [
"README.md",
"LICENSE",
"pyproject.toml",
"legendkit",
]
[tool.hatch.build.targets.wheel]
packages = ["legendkit", "README.md", "LICENSE", "pyproject.toml"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "uv-dynamic-versioning"
[tool.hatch.build.hooks.version]
path = "legendkit/_version.py"
template = '''
version = "{version}"
'''
[tool.taskipy.tasks]
test = "pytest tests"
doc = "sphinx-build -b html docs/source docs/build"