-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
104 lines (89 loc) · 2.11 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
[build-system]
requires = ["setuptools>=61.0", "numpy >= 1.15", "versioningit~=2.0", "wheel", "Cython>=0.29"]
build-backend = "setuptools.build_meta"
[project]
name = "despasito"
description = "Determining Equilibrium State and Parametrization Application for SAFT, Intended for Thermodynamic Output"
dynamic = ["version"]
readme = "README.md"
license = { text = "BSD-3-Clause" }
authors = [
{ name = "Jennifer A. Clark", email = "jennifer.clark@gnarlyoak.com" },
{ name = "Nathan Duff" }
]
# See https://pypi.org/classifiers/
classifiers = [
"Programming Language :: Python :: 3",
]
requires-python = ">=3.8"
dependencies = [
"numpy",
"scipy",
"numba",
"flake8"
]
[project.optional-dependencies]
test = ["pytest>=6.1.2"]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx-argparse",
"m2r2",
"sphinxcontrib-napoleon",
]
# Update the urls once the hosting is set up.
[project.urls]
"GitHub Source" = "https://github.com/Santiso-Group/despasito"
"Documentation" = "https://despasito.readthedocs.io/en/latest/"
[tool.setuptools]
zip-safe = false
include-package-data = false
license-files = ["LICENSES/*.md"]
[tool.setuptools.packages.find]
namespaces = false
where = ["."]
[tool.setuptools.package-data]
despasito = [
"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"
# Parameters to pass to the method:
match = ["*"]
default-tag = "1.0.0"
[tool.versioningit.write]
file = "despasito/_version.py"
[tool.black]
line-length = 120
[tool.ruff]
line-length = 120
indent-width = 4
exclude = [
".eggs",
".git",
".git-rewrite",
".ipynb_checkpoints",
".mypy_cache",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".venv",
".vscode",
"__pypackages__",
"_build",
"build",
"dist",
"site-packages",
"venv",
]
[tool.ruff.format]
indent-style = "space"
line-ending = "auto"