This repository was archived by the owner on Jun 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (70 loc) · 1.86 KB
/
pyproject.toml
File metadata and controls
80 lines (70 loc) · 1.86 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "nrn-patch"
authors = [{ name = "Robin De Schepper", email = "robingilbert.deschepper@unipv.it" }]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
]
dynamic = ["version", "description"]
python_requires = ">=3.9"
dependencies = [
"nmodl-glia[neuron]~=4.0",
"errr~=1.2",
"numpy~=1.21",
"NEURON>=8.0,<10.0",
]
[project.urls]
Home = "https://github.com/dbbs-lab/patch"
[project.entry-points."glia.package"]
extensions = "patch.extensions:package"
[project.optional-dependencies]
parallel = ["mpi4py~=3.0"]
test = [
"coverage~=7.0"
]
docs = [
"sphinx~=7.2",
"helveg--sphinx-code-tabs~=0.2",
"sphinx-rtd-theme~=2.0",
]
dev = [
"nrn-patch[test, docs]",
"pre-commit~=3.0",
"black~=24.0",
]
[tool.flit.module]
name = "patch"
[tool.black]
line-length = 90
[tool.isort]
profile = "black"
[tool.bumpversion]
current_version = "4.0.0"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
search = "{current_version}"
replace = "{new_version}"
regex = false
ignore_missing_version = false
tag = true
sign_tags = false
tag_name = "v{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
commit_args = "--no-verify"
[tool.bumpversion.parts.pre_l]
values = ["dev", "a", "b", "rc", "final"]
optional_value = "final"
[[tool.bumpversion.files]]
filename = "patch/__init__.py"