-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
134 lines (116 loc) · 3.09 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
[project]
name = "GEMDAT"
version = "1.5.1"
description = "Generalized Molecular Dynamics Analysis Tool"
readme = "README.md"
requires-python = ">=3.10"
authors = [
{name = "Victor Azizi", email = "[email protected]"},
{name = "Stef Smeets", email = "[email protected]"},
]
keywords = [
"analysis",
"molecular dynamics",
"diffusion",
"batteries",
]
license = {text = "Apache 2.0 License"}
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
dependencies = [
'matplotlib >= 3.6.0',
'MDAnalysis',
'numpy',
'pymatgen >= 2024.1.26, != 2024.2.20',
'rich',
'scikit-image',
'scipy',
]
[project.urls]
homepage = "https://github.com/GEMDAT-repos/GEMDAT"
issues = "https://github.com/GEMDAT-repos/GEMDAT/issues"
documentation = "https://gemdat.readthedocs.io"
changelog = "https://github.com/GEMDAT-repos/GEMDAT/releases"
[project.optional-dependencies]
develop = [
"kaleido < 0.4", # 0.4: https://github.com/plotly/Kaleido/issues/223
"bump-my-version",
"coverage[toml]",
"mypy",
"pre-commit",
"pytest >= 8.1",
]
docs = [
"markdown-include",
"mkdocs",
"mkdocs-jupyter",
"mkdocs-material",
"mkdocstrings[python]",
]
publishing = [
"twine",
"wheel",
"build",
]
[tool.setuptools]
package-dir = {"gemdat" = "src/gemdat" }
include-package-data = true
[tool.coverage.run]
branch = true
source = ["gemdat"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 96
target-version = "py310"
[tool.ruff.lint]
# Enable Pyflakes `E` and `F` codes by default.
select = [
"F", # Pyflakes
"E", # pycodestyle (error)
"W", # pycodestyle (warning)
"I", # isort
]
[tool.ruff.lint.isort]
known-first-party=["gemdat"]
known-third-party = ["pymatgen"]
required-imports = ["from __future__ import annotations"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.mypy]
files = ["src", "tests"]
allow_redefinition = true
ignore_missing_imports = true
[tool.bumpversion]
current_version = "1.5.1"
[[tool.bumpversion.files]]
filename = "src/gemdat/__init__.py"
search = "__version__ = '{current_version}'"
replace = "__version__ = '{new_version}'"
[[tool.bumpversion.files]]
filename = "pyproject.toml"
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 = "README.md"
search = "(Version {current_version})"
replace = "(Version {new_version})"