-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (76 loc) · 2.38 KB
/
pyproject.toml
File metadata and controls
84 lines (76 loc) · 2.38 KB
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
[build-system]
requires = ["poetry-core>=1.2.0b2"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "megan_global_explanations"
version = "0.3.0"
description = "Insert Description"
license = "MIT license"
authors = ["Jonas Teufel <jonseb1998@gmail.com>"]
maintainers = ["Jonas Teufel <jonseb1998@gmail.com>"]
# readme = "README.rst"
keywords = []
packages = [
{ include = "megan_global_explanations" },
{ include = "megan_global_explanations/experiments"},
]
include = [
"megan_global_explanations/VERSION",
]
exclude = [
"megan_global_explanations/experiments/results/*",
# "megan_global_explanations/experiments/assets/*",
"megan_global_explanations/_experiments/*",
"tests/*"
]
[tool.poetry.scripts]
megan_global_explanations = 'megan_global_explanations.cli:cli'
[tool.poetry.dependencies]
python = ">=3.8.0,<4.0"
pycomex = ">=0.9.2"
click = ">=7.1.2"
jinja2 = ">=3.0.3"
matplotlib = ">=3.5.3"
numpy = ">=1.23.2"
python-decouple = ">=3.6"
poetry-bumpversion = ">=0.3.0"
graph-attention-student = ">=1.1.0"
visual-graph-datasets = ">=0.15.1"
umap-learn = ">=0.5.3"
hdbscan = ">=0.8.0"
weasyprint = ">=61.1"
scikit-learn = "==1.7.2"
[tool.poetry.dev-dependencies]
pytest = ">=7.1.3"
poetry-bumpversion = ">=0.3.0"
[tool.poetry_bumpversion.file."megan_global_explanations/VERSION"]
search = "{current_version}"
replace = "{new_version}"
[tool.poetry_bumpversion.file."README.rst"]
search = 'version-{current_version}-orange.svg'
replace = 'version-{new_version}-orange.svg'
[tool.poetry_bumpversion.file."megan_global_explanations/__init__.py"]
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'
# --- bumpversion configuration ---
[tool.bumpversion]
current_version = "0.3.0"
parse = "(?<![=<>])(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = true
ignore_missing_version = true
tag = false
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = true
commit = false
message = "Bump version: {current_version} → {new_version}"
commit_args = ""
files = [
{ filename = "pyproject.toml", search = "version = \"{current_version}\"", replace = "version = \"{new_version}\"" },
{ filename = "README.rst" },
{ filename = "megan_global_explanations/VERSION" },
]