-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
100 lines (88 loc) · 2.67 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
[build-system]
requires = [
"setuptools>=65.0", # MIT License
"wheel", # MIT License
]
build-backend = "setuptools.build_meta"
[project]
name = "gitlab2prov"
description = "Extract provenance information (W3C PROV) from GitLab projects."
requires-python = ">=3.10"
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE" }
authors = [{ name = "Claas de Boer", email = "[email protected]" }]
maintainers = [
{ name = "Andreas Schreiber", email = "[email protected]" },
]
dependencies = [
"prov>=2.0.0", # MIT License
"git-python", # BSD 3-Clause License
"python-gitlab", # LGPL-3.0 License
"jsonschema", # MIT License
"ruamel.yaml", # MIt License
"pydot>=1.2.0", # MIT License
"click", # BSD 3-Clause License
]
keywords = [
"prov",
"gitlab",
"git",
"provenance",
"prov generation",
"software analytics",
"w3c prov",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Version Control :: Git",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"pytest", # MIT License
"pytest-mock", # MIT License
"black", # MIT License
"isort", # MIT License
"bump-my-version", # MIT License
]
[project.scripts]
gitlab2prov = "gitlab2prov.entrypoints.cli:cli"
[project.urls]
Twitter = "https://twitter.com/dlr_software"
"Source Code" = "https://github.com/dlr-sc/gitlab2prov"
"Issue Tracker" = "https://github.com/dlr-sc/gitlab2prov/issues"
[tool.setuptools.dynamic]
version = { attr = "gitlab2prov.__version__" }
[tool.setuptools.packages.find]
exclude = ["tests*", "docs*"]
[tool.isort]
profile = "black"
py_version = 310
[tool.black]
line-length = 99
target-version = ['py310']
[tool.bumpversion]
current_version = "2.2.0"
commit = true
tag = true
tag_name = "{new_version}"
message = "Bump version: {current_version} -> {new_version}"
[[tool.bumpversion.files]]
filename = "gitlab2prov/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
[[tool.bumpversion.files]]
filename = "CITATION.cff"
search = 'version: "{current_version}"'
replace = 'version: "{new_version}"'
[[tool.bumpversion.files]]
filename = "CITATION.cff"
search = 'date-released: "\d{{4}}-\d{{2}}-\d{{2}}"'
replace = 'date-released: "{now:%Y-%m-%d}"'