-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (129 loc) · 4.4 KB
/
Copy pathpyproject.toml
File metadata and controls
143 lines (129 loc) · 4.4 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
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
[build-system]
# build the package with [flit](https://flit.readthedocs.io)
requires = ["flit_core >=4,<5"]
build-backend = "flit_core.buildapi"
[project]
# See https://www.python.org/dev/peps/pep-0621/
name = "aiida-amber"
dynamic = ["version"] # read from aiida_amber/__init__.py
description = "AiiDA plugin that wraps amber molecular dynamics executables"
authors = [{name = "Jas Kalayan", email = "jas.kalayan@stfc.ac.uk"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Development Status :: 5 - Production/Stable",
"Framework :: AiiDA"
]
keywords = ["aiida", "plugin", "amber", "aiida-amber"]
requires-python = ">=3.11"
dependencies = [
"aiida-core>=2.9.0,<2.10",
"voluptuous",
"MDAnalysis>=2.7.0",
]
[project.urls]
Source = "https://github.com/CCPBioSim/aiida-amber"
[project.optional-dependencies]
testing = [
"pgtest~=1.3",
"wheel~=0.40",
"coverage[toml]",
"pytest~=9.0",
"pytest-cov~=7.0",
"pytest-sugar~=1.1"
]
pre-commit = [
"pre-commit>=4.6,<5.0",
"ruff>=0.16,<0.17",
"rstcheck>=6.3,<7.0"
]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinxcontrib-contentui",
"sphinxcontrib-details-directive",
"sphinx_copybutton",
"furo",
"markupsafe<3.1"
]
[project.scripts]
aiida_sander = "aiida_amber.cli.sander:cli"
aiida_tleap = "aiida_amber.cli.tleap:cli"
aiida_antechamber = "aiida_amber.cli.antechamber:cli"
aiida_pdb4amber = "aiida_amber.cli.pdb4amber:cli"
aiida_parmed = "aiida_amber.cli.parmed:cli"
[project.entry-points."aiida.data"]
"amber.sander" = "aiida_amber.data.sander:SanderParameters"
"amber.tleap" = "aiida_amber.data.tleap:TleapParameters"
"amber.tleap_input" = "aiida_amber.data.tleap_input:TleapInputData"
"amber.antechamber" = "aiida_amber.data.antechamber:AntechamberParameters"
"amber.pdb4amber" = "aiida_amber.data.pdb4amber:Pdb4amberParameters"
"amber.parmed" = "aiida_amber.data.parmed:ParmedParameters"
"amber.parmed_input" = "aiida_amber.data.parmed_input:ParmedInputData"
[project.entry-points."aiida.calculations"]
"amber.sander" = "aiida_amber.calculations.sander:SanderCalculation"
"amber.tleap" = "aiida_amber.calculations.tleap:TleapCalculation"
"amber.antechamber" = "aiida_amber.calculations.antechamber:AntechamberCalculation"
"amber.pdb4amber" = "aiida_amber.calculations.pdb4amber:Pdb4amberCalculation"
"amber.parmed" = "aiida_amber.calculations.parmed:ParmedCalculation"
[project.entry-points."aiida.parsers"]
"amber.sander" = "aiida_amber.parsers.sander:SanderParser"
"amber.tleap" = "aiida_amber.parsers.tleap:TleapParser"
"amber.antechamber" = "aiida_amber.parsers.antechamber:AntechamberParser"
"amber.pdb4amber" = "aiida_amber.parsers.pdb4amber:Pdb4amberParser"
"amber.parmed" = "aiida_amber.parsers.parmed:ParmedParser"
[tool.flit.module]
name = "aiida_amber"
[tool.ruff]
line-length = 120
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.pytest.ini_options]
# Configuration for [pytest](https://docs.pytest.org)
python_files = "test_*.py example_*.py"
filterwarnings = [
"ignore:Creating AiiDA configuration folder:",
'ignore:Object of type .* not in session, .* operation along .* will not proceed:sqlalchemy.exc.SAWarning',
"ignore::DeprecationWarning:aiida:",
"ignore::DeprecationWarning:plumpy:",
"ignore::DeprecationWarning:yaml:",
]
[tool.coverage.run]
# Configuration of [coverage.py](https://coverage.readthedocs.io)
# reporting which lines of your plugin are covered by tests
source=["aiida_amber"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38
[testenv]
usedevelop=True
[testenv:py{,38,39,310,311}]
description = Run the test suite against a python version
extras = testing
setenv =
AIIDA_WARN_v3 = 1
commands = pytest {posargs}
[testenv:pre-commit]
description = Run the pre-commit checks
extras =
pre-commit
testing
commands = pre-commit run {posargs}
[testenv:docs]
description = Build the documentation
extras = docs
commands = sphinx-build -nW --keep-going -b html {posargs} docs/source docs/build/html
commands_post = echo "open file://{toxinidir}/docs/build/html/index.html"
"""