-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (66 loc) · 1.82 KB
/
pyproject.toml
File metadata and controls
78 lines (66 loc) · 1.82 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
67
68
69
70
71
72
73
74
75
76
77
78
[build-system]
# We need setup.cfg support, which setuptools introduced in 30.3.0.
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm"]
[project]
name = "demes"
authors = [
{name = "PopSim Consortium", email = "krthornt@uci.edu"}
]
description = "tools for describing demographic models"
readme = {file = "README.md", content-type = "text/markdown"}
license = {text = "ISC"}
classifiers = [
"Development Status :: 5 - Stable",
"License :: OSI Approved :: ISC License (ISCL)",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics"
]
requires-python = ">=3.10"
dynamic = ["version"]
dependencies = [
"attrs>=20.3.0",
"ruamel.yaml>=0.15.78"
]
[project.urls]
Repository = "https://github.com/popsim-consortium/demes-python"
Documentation = "https://popsim-consortium.github.io/demes-docs/"
Issues = "https://github.com/popsim-consortium/demes-python/issues"
[project.scripts]
demes = "demes.__main__:cli"
[dependency-groups]
test = [
"numpy",
"pytest==8.3.3",
"pytest-cov",
"pytest-xdist"
]
lint = [
"black==24.10.0",
"flake8==7.1.1",
"mypy==1.13.0",
{include-group = "test"},
]
docs = [
"demesdraw",
"jupyter-book<2",
"piccolo_theme",
"sphinx_issues",
"sphinxcontrib-programoutput",
# WARNING: ipython 9 removes functions
# that the docs here and in demes-spec use
"ipython<9"
]
[tool.setuptools_scm]
write_to = "demes/_version.py"
[tool.coverage.run]
patch = ["subprocess"]
# NOTE to future developers
# mypy can be configured here, and perhaps
# "should" be.
# For now, we've left its config in setup.cfg
#
# flake8 cannot be configured here unless we
# introduce a dependency on flake8-pyproject.