Skip to content

Commit 6bb0a41

Browse files
committed
Move to pyproject
1 parent 134ac7e commit 6bb0a41

File tree

3 files changed

+45
-82
lines changed

3 files changed

+45
-82
lines changed

pyproject.toml

Lines changed: 45 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,46 +15,74 @@ dynamic = [
1515
authors = [
1616
{ name = "tsdate Developers", email = "[email protected]" },
1717
]
18-
description = "Infer tree sequence node times"
19-
readme = "README.md"
20-
requires-python = ">=3.8"
18+
description = "Infer node ages from a tree sequence topology."
19+
readme = {file = "README.md", content-type = "text/markdown"}
20+
requires-python = ">=3.10"
21+
keywords = [
22+
"population genetics",
23+
"tree sequence",
24+
"ancestral recombination graph",
25+
"evolutionary tree",
26+
"inference",
27+
"dating",
28+
"tsdate",
29+
]
2130
classifiers = [
22-
"Development Status :: 4 - Beta",
23-
"Intended Audience :: Developers",
31+
"Development Status :: 3 - Alpha",
32+
"Environment :: Other Environment",
33+
"Intended Audience :: Science/Research",
2434
"License :: OSI Approved :: MIT License",
35+
"Operating System :: POSIX",
36+
"Operating System :: MacOS :: MacOS X",
37+
"Operating System :: Microsoft :: Windows",
38+
"Programming Language :: Python",
2539
"Programming Language :: Python :: 3",
2640
"Programming Language :: Python :: 3.10",
2741
"Programming Language :: Python :: 3.11",
2842
"Programming Language :: Python :: 3.12",
2943
"Programming Language :: Python :: 3.13",
44+
"Programming Language :: Python :: 3 :: Only",
45+
"Topic :: Scientific/Engineering",
46+
"Topic :: Scientific/Engineering :: Bio-Informatics",
3047
]
3148
dependencies = [
32-
"tskit>=0.6.0",
33-
"tsinfer>=0.3.0",
49+
"tskit>=0.5.8",
3450
"numpy",
35-
"tqdm",
36-
"daiquiri",
3751
"scipy>=1.13.0",
3852
"numba>=0.58.1",
53+
"mpmath",
54+
"tqdm",
3955
"appdirs",
40-
"setuptools>=45",
4156
]
4257

4358
[project.license]
4459
text = "MIT"
4560

61+
[project.urls]
62+
Homepage = "http://pypi.python.org/pypi/tsdate"
63+
Documentation = "https://tskit.dev/tsdate/docs/"
64+
Changelog = "https://github.com/tskit-dev/tsdate/blob/main/CHANGELOG.rst"
65+
"Bug Tracker" = "https://github.com/tskit-dev/tsdate/issues"
66+
GitHub = "https://github.com/tskit-dev/tsdate"
67+
68+
[project.scripts]
69+
tsdate = "tsdate.__main__:main"
70+
4671
[project.optional-dependencies]
4772
test = [
4873
"numcodecs>=0.6,<0.15.1", #Pinned due to https://github.com/zarr-developers/numcodecs/issues/733
4974
"pytest==8.4.2",
5075
"pytest-xdist==3.8.0",
5176
"pytest-cov==6.3.0",
5277
"msprime==1.3.4",
78+
"tsinfer==0.4.1",
5379
"mpmath==1.3.0",
5480
"numdifftools==0.9.41",
5581
"matplotlib==3.10.6",
82+
"build==1.3.0",
5683
]
5784
docs = [
85+
"numcodecs>=0.6,<0.15.1", #Pinned due to https://github.com/zarr-developers/numcodecs/issues/733
5886
"demesdraw==0.4.0",
5987
"attrs==25.3.0",
6088
"matplotlib==3.10.6",
@@ -98,5 +126,12 @@ dev = [
98126
"sphinx-book-theme",
99127
]
100128

129+
[tool.setuptools]
130+
packages = ["tsdate"]
131+
include-package-data = true
132+
101133
[tool.setuptools_scm]
102134
write_to = "tsdate/_version.py"
135+
136+
[tool.pytest.ini_options]
137+
testpaths = ["tests"]

setup.cfg

Lines changed: 0 additions & 64 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)