-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
100 lines (85 loc) · 2.42 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
100
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tailestim"
dynamic = ["version"]
description = 'A Python package for estimating tail parameters of heavy-tailed distributions, which is useful for analyzing power-law behavior in complex networks.'
readme = "README.md"
requires-python = ">=3.6"
license = "MIT"
keywords = ['power-law', 'complex-network', 'heavy-tail', 'network-science']
authors = [
{ name = "Minami Ueda", email = "[email protected]" },
]
classifiers = [
"Development Status :: 3 - Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"numpy>=1.19",
"matplotlib>=3.5"
]
[project.urls]
Documentation = "https://tailestim.readthedocs.io/en/latest/index.html"
Issues = "https://github.com/mu373/tailestim/issues"
Source = "https://github.com/mu373/tailestim"
[tool.hatch.build.targets.wheel]
packages = ["src/tailestim"]
include = ["src/tailestim/data/*.dat"]
[tool.hatch.build.targets.wheel.sources]
"src/tailestim" = "tailestim"
[tool.hatch.version]
path = "src/tailestim/__about__.py"
[tool.hatch.envs.default]
dependencies = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"sphinx",
]
[tool.hatch.envs.test.scripts]
# Run tests across all Python versions in the matrix
all = "pytest {args:tests}"
# Run with coverage
cov = "pytest --cov {args:tests}"
# Run specific test categories if needed
unit = "pytest {args:tests/unit}"
integration = "pytest {args:tests/integration}"
[tool.hatch.aliases]
test = "run test:all"
cov = "run test:cov"
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/tailestim tests}"
[tool.hatch.envs.test]
dependencies = [
"pytest",
"pytest-cov",
]
[[tool.hatch.envs.test.matrix]]
python = ["38", "39", "310", "311", "312", "313"]
[tool.coverage.run]
source_pkgs = ["tailestim", "tests"]
branch = true
parallel = true
omit = [
"src/tailestim/__about__.py",
]
[tool.coverage.paths]
tailestim = ["src/tailestim", "*/tailestim/src/tailestim"]
tests = ["tests", "*/tailestim/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]