-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
82 lines (73 loc) · 1.98 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "fwl-zephyrus"
version = "24.10.15"
description = "Atmospheric escape models of exoplanets."
readme = "README.md"
authors = [
{name = "Emma Postolec", email = "e.n.postolec@rug.nl"},
{name = "Tim Lichtenberg", email = "tim.lichtenberg@rug.nl"},
{name = "Laurent Soucasse", email = "l.soucasse@esciencecenter.nl"},
]
license = {text = "Apache 2.0 License"}
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
]
keywords = ["exoplanet", "escape"]
requires-python = '>=3.10'
dependencies = [
'fwl-mors>=24.10.1',
'matplotlib',
'numpy',
]
[project.urls]
homepage = "https://github.com/FormingWorlds/ZEPHYRUS"
[project.optional-dependencies]
develop = [
"bump-my-version",
"coverage[toml]",
"pytest"
]
docs = [
"markdown-include",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
]
publishing = [
"twine",
"wheel",
"build"
]
[tool.setuptools]
package-dir = {"zephyrus" = "src/zephyrus"}
include-package-data = true
[tool.coverage.run]
branch = true
source = ["zephyrus"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.bumpversion]
# https://callowayproject.github.io/bump-my-version/howtos/calver/
current_version = "24.10.15"
parse = """(?x) # Verbose mode
(?P<release> # The release part
(?:[1-9][0-9])\\. # YY.
(?:[0-1][0-9])\\. # MM.
(?:[0-3][1-9]) # DD
)
(?:\\.(?P<patch>\\d+))? # .patch, optional
"""
serialize = ["{release}.{patch}", "{release}"]
[tool.bumpversion.parts.release]
calver_format = "{YY}.{0M}.{0D}"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = "version = \"{current_version}\""
replace = "version = \"{new_version}\""