-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
63 lines (54 loc) · 1.45 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
[build-system]
requires = ["hatchling >= 1.9", "versioningit~=2.0"]
build-backend = "hatchling.build"
# Self-descriptive entries which should always be present
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
[project]
name = "SoAPy"
description = "A package for research on SOlvation Algorithms in PYthon, SoAPy."
dynamic =["version"]
readme = "README.md"
authors = [
{ name = "Brendan Shumberger", email = "[email protected]" },
{ name = "Ethan Fink", email = "[email protected]" }
]
license = { text = "BSD-3-Clause" }
# See https://pypi.org/classifiers/
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.10"
dependencies = [
"numpy",
"scipy",
"matplotlib",
"h5py",
"pandas",
"requests"
]
[tool.hatch.version]
source = "versioningit"
[project.optional-dependencies]
test = [
"pytest>=6.1.2",
"pytest-runner"
]
[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 = "SoAPy/_version.py"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]