-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
68 lines (55 loc) · 1.46 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
[build-system]
# delete cython/numpy if not needed
requires = ["setuptools>=61", "versioningit~=2.0", "numpy", ]
build-backend = "setuptools.build_meta"
# define project info
[project]
name = "SOURSOP"
dynamic = ["version"]
description = "Simulation analysis package for working with disordered proteins"
authors = [
{name = "Alex Holehouse", email = "[email protected]"}
]
license = {text = "LGPLv3"}
readme = "README.md"
requires-python = ">=3.7"
# add in as needed
dependencies = [
"numpy>=1.20.0",
"scipy>=1.5.0",
"cython",
"mdtraj>=1.9.5",
"pandas>=0.23.0",
"threadpoolctl>=2.2.0",
"natsort",
"matplotlib",
]
[project.optional-dependencies]
test = [
"pytest>=6.1.2",
]
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
namespaces = true
where = ["."]
include = ["soursop", "soursop*"] # Discover all sub-packages inside the main package
[tool.setuptools.package-data]
soursop = [
"py.typed"
]
[tool.versioningit]
default-version = "1+unknown"
[tool.versioningit.format]
distance = "{base_version}+{distance}.{vcs}{rev}"
dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
distance-dirty = "{base_version}+{distance}.{vcs}{rev}.dirty"
[tool.versioningit.vcs]
# The method key:
method = "git" # <- The method name
# Parameters to pass to the method:
match = ["*"]
default-tag = "1.0.0"
[tool.versioningit.write]
file = "soursop/_version.py"