-
Notifications
You must be signed in to change notification settings - Fork 15
/
pyproject.toml
156 lines (135 loc) · 4.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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "aiida-lammps"
dynamic = ["version", "description"]
authors = [
]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
"Framework :: AiiDA",
]
keywords = ["aiida", "workflows", "lammps"]
requires-python = ">=3.9"
dependencies = [
"aiida-core[atomic_tools]~=2.3",
"importlib_resources",
"jsonschema~=3.2.0",
"numpy",
"packaging",
"python-dateutil",
]
[project.urls]
Documentation = "https://aiida-lammps.readthedocs.io"
Source = "https://github.com/aiidaplugins/aiida-lammps"
[project.optional-dependencies]
tests = [
'pgtest~=1.3',
'pytest~=8.2',
'pytest-regressions~=2.3',
"pytest-cov",
"coverage",
"pytest-timeout",
"pytest-regressions",
]
docs = [
'sphinx~=8.1.3',
'sphinx-copybutton~=0.5.2',
'sphinx-book-theme~=1.1.2',
'sphinx-click~=6.0.0',
'sphinx-design~=0.6.1',
'sphinxcontrib-details-directive~=0.1.0',
'sphinx-autoapi~=3.0',
'myst_parser~=4.0.0',
"furo",
"sphinx-autodoc2"
]
pre-commit = ['pre-commit~=4.0']
[project.entry-points."aiida.calculations"]
"lammps.base" = "aiida_lammps.calculations.base:LammpsBaseCalculation"
"lammps.raw" = "aiida_lammps.calculations.raw:LammpsRawCalculation"
[project.entry-points."aiida.parsers"]
"lammps.base" = "aiida_lammps.parsers.base:LammpsBaseParser"
"lammps.raw" = "aiida_lammps.parsers.raw:LammpsRawParser"
[project.entry-points."aiida.data"]
"lammps.potential" = "aiida_lammps.data.potential:LammpsPotentialData"
"lammps.trajectory" = "aiida_lammps.data.trajectory:LammpsTrajectory"
[project.entry-points."aiida.workflows"]
"lammps.base" = "aiida_lammps.workflows.base:LammpsBaseWorkChain"
"lammps.relax" = "aiida_lammps.workflows.relax:LammpsRelaxWorkChain"
"lammps.md" = "aiida_lammps.workflows.molecular_dynamics:LammpsMDWorkChain"
[tool.flit.module]
name = "aiida_lammps"
[tool.flit.sdist]
exclude = ["docs/", "tests/"]
[tool.coverage.run]
# Configuration of [coverage.py](https://coverage.readthedocs.io)
# reporting which lines of your plugin are covered by tests
source = ["src"]
[tool.ruff]
extend-select = ["B0", "C4", "I", "ICN", "ISC", "N", "RUF", "SIM", "UP"]
extend-ignore = ["B028", "ISC001"]
[tool.ruff.lint.isort]
force-sort-within-sections = true
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = pre-commit,{3.9,3.10,3.11}-aiida_lammps
requires = virtualenv >= 20
isolated_build = True
[testenv]
setenv = AIIDA_PATH={toxworkdir}/.aiida
allowlist_externals =
mkdir
rm
commands =
mkdir -p {toxworkdir}/.aiida
pytest --lammps-exec lmp_serial {posargs}
rm -r {toxworkdir}/.aiida
extras = tests
[testenv:pre-commit]
allowlist_externals = bash
commands = bash -ec 'pre-commit run --all-files || ( git diff; git status; exit 1; )'
extras =
pre-commit
tests
[testenv:docs-{clean,update}]
extras = docs
description =
clean: Build the documentation (remove any existing build)
update: Build the documentation (modify any existing build)
passenv = RUN_APIDOC
setenv =
update: RUN_APIDOC = False
changedir = docs
allowlist_externals =
make
rm
echo
commands =
clean: make clean
make debug
[pytest]
addopts = --ignore=setup.py
timeout = 180
filterwarnings =
ignore::DeprecationWarning:frozendict.*
ignore::DeprecationWarning:sqlalchemy_utils.*
ignore::DeprecationWarning:reentry.*
markers =
lammps_call: calls the lammps executable
"""