-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
105 lines (92 loc) · 2.24 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
101
102
103
104
105
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# [tool.hatch.metadata]
# this allows dependencies to be specified with a url
# allow-direct-references = true
[project]
name = "bdms-sim"
authors = [
{ name="William DeWitt", email="[email protected]" },
{ name="Michael Celentano", email="[email protected]" },
{ name="Thanasi Bakis", email="[email protected]" },
{ name="Duncan Ralph", email="[email protected]" },
{ name="Sebastian Prillo", email="[email protected]" },
{ name="Frederick Matsen", email="[email protected]" },
{ name="Yun Song", email="[email protected]" },
{ name="Volodymyr Minin", email="[email protected]" },
]
description = "Tree simulator for birth-death-mutation-sampling (BDMS) processes"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dynamic = ["version"]
dependencies = [
"matplotlib",
"numpy",
"scipy",
"ete3",
"pyqt5",
]
[project.urls]
"Homepage" = "https://github.com/dewitt-lab/BDMS"
"Bug Tracker" = "https://github.com/dewitt-lab/BDMS/issues"
"Documentation" = "https://dewitt-lab.github.io/BDMS"
# NOTE: dev dependencies are handled by hatch
# [project.optional-dependencies]
# dev = [
# ]
[tool.hatch.build.targets.wheel]
packages = ["bdms"]
[tool.hatch.version]
path = "bdms/__init__.py"
# this puts hatch envs in a .hatch directory, so vscode can find them
# instead of using hatch envs, we put everything
# in the project dev env for vscode intellesense
[tool.hatch.envs.default]
path = ".hatch"
extra-dependencies = [
# default
"hatch",
"jupyter",
"seaborn",
# style
"flake8",
"black[jupyter]",
"docformatter",
"pyright",
# test
"pytest",
"nbval",
# docs
"sphinx",
"sphinx-autodoc-typehints",
"sphinx-copybutton",
"sphinx-autoapi",
"furo",
"myst-nb",
"pandoc",
]
[tool.hatch.envs.default.scripts]
tests = [
"pytest",
"pytest --doctest-modules",
"pytest --nbval docs/notebooks",
]
docs = [
"make -C docs html",
]
lint = [
"flake8 .",
"black --check .",
"docformatter --black --check **/*.py",
"pyright bdms/*.py",
]
format = [
"black .",
"docformatter --black --in-place **/*.py",
]