-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
76 lines (63 loc) · 1.96 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
[build-system]
requires = ["setuptools>=61.0",
"wheel",
"versioningit~=2.0",
"cython",
"numpy"]
build-backend = "setuptools.build_meta"
# Self-descriptive entries which should always be present
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
[project]
name = "finches"
description = "Package for predicting chemical specificity in disordered regions"
dynamic = ["version"]
readme = "README.md"
authors = [
{ name = "Garrett M. Ginell", email = "[email protected]" },
{ name = "Alex S. Holehouse", email = "[email protected]" },
]
license = { text = "CC BY-NC 4.0" }
# See https://pypi.org/classifiers/
classifiers = [
"Programming Language :: Python :: 3",
]
requires-python = ">=3.7"
# Declare any run-time dependencies that should be installed with the package.
dependencies = [
"numpy", "afrc>=0.3.4", "scipy", "soursop>=0.2.4", "pandas", "metapredict", "ipython"
]
# Update the urls once the hosting is set up.
#[project.urls]
#"Source" = "https://github.com/<username>/finches/"
#"Documentation" = "https://finches.readthedocs.io/"
[project.optional-dependencies]
test = [
"pytest>=6.1.2",
"pytest-runner"
]
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
namespaces = false
where = ["."]
include = ["finches", "finches.*"] # Discover all sub-packages inside the main package
# Ref https://setuptools.pypa.io/en/latest/userguide/datafiles.html#package-data
[tool.setuptools.package-data]
finches = [
"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 = "finches/_version.py"