forked from anazalea/pySankey
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
99 lines (77 loc) · 2.16 KB
/
pyproject.toml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ausankey"
version = "1.7"
description = "Sankey diagrams simply"
readme = "README.md"
license = {file = "LICENSE"}
dependencies = [
"matplotlib",
"numpy",
"pandas",
]
requires-python = ">= 3.9"
authors = [
{name = "Will Robertson", email = "[email protected]"},
]
maintainers = [
{name = "Will Robertson", email = "[email protected]"},
]
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 4 - Beta",
# Indicate who your project is intended for
# "Intended Audience :: Developers",
# "Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
Homepage = "https://github.com/AUMAG/ausankey"
Documentation = "https://aumag.github.io/ausankey/"
Repository = "https://github.com/AUMAG/ausankey.git"
Issues = "https://github.com/AUMAG/ausankey/issues"
Changelog = "https://github.com/AUMAG/ausankey/blob/master/CHANGELOG.md"
[tool.hatch.build.targets.wheel]
packages = ["ausankey"]
[tool.hatch.build.targets.sdist]
ignore-vcs = true
include = [
"/ausankey/*.py",
"/tests/*.py",
"/tests/*.csv",
]
exclude = [
"/docs/*",
]
[tool.hatch.envs.doc]
dependencies = ["mkdocs", "mkdocstrings[python]"]
[tool.hatch.envs.doc.scripts]
ref = "mkdocs -v build"
img = "cd docs; for f in *.py; do python $f; done"
icp = "cd docs; cp -v *.png ../_site/; cp -v example_*.png ../_site/examples/; cp -v iface_*.png ../_site/interface/ "
[tool.hatch.envs.test]
dependencies = [
"pytest", "coverage", "coveralls",
"mkdocstrings","mkdocstrings-python",
]
[tool.hatch.envs.test.scripts]
test = "python -m pytest"
test-cov = "coverage run -m pytest"
coverall = "coveralls --service=github"
cov = ["test-cov", "coverall"]
[tool.ruff]
extend-exclude = [
"sankey_doc_examples.py",
"__init__.py",
"docs/*",
]
output-format = "github"