-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
68 lines (59 loc) · 2.03 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]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "synthterrain"
version = "0.1.0"
# dynamic = ["version", "dependencies"]
dynamic = ["dependencies"]
description = "The synthterrain package is software to support the creation of synthetic terrain in the solar system."
maintainers = [
{name = "Ross Beyer", email = "[email protected]"}
]
readme = "README.rst"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 2 - Pre-Alpha",
"Natural Language :: English",
]
[project.scripts]
synthcraters = "synthterrain.crater.cli:main"
synthrocks = "synthterrain.rock.cli:main"
synthterrain = "synthterrain.cli:main"
synthcraterplot = "synthterrain.crater.cli_plot:main"
synthcraterconvert = "synthterrain.crater.cli_convert:main"
[project.urls]
Repository = "https://github.com/NeoGeographyToolkit/synthterrain"
[tools.setup.dynamic]
# version = {attr = "synthterrain.__version__"}
dependencies = {file = ["requirements.txt"]}
[tool.setuptools]
package-dir = {"" = "src/python"}
[tool.bumpversion]
current_version = "0.1.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(?:-(?P<release>[a-z]+))?"
serialize = ["{major}.{minor}.{patch}-{release}", "{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
ignore_missing_files = false
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = false
message = "Bump version: {current_version} → {new_version}"
commit_args = ""
[tool.bumpversion.parts.release]
values = ["dev", "released"]
optional_value = "released"
[[tool.bumpversion.files]]
filename = "src/python/synthterrain/__init__.py"
search = "__version__ = {current_version}"
replace = "__version__ = {new_version}"