-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (84 loc) · 2.79 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (84 loc) · 2.79 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=77.0.3",
"setuptools-scm>=8",
]
[project]
name = "openff-packmol"
description = "A Packmol wrapper using OpenFF objects"
readme = "README.md"
license = "MIT"
license-files = [ "LICENSE" ]
authors = [ { name = "Open Force Field Initiative", email = "info@openforcefield.org" } ]
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
[tool.setuptools]
packages.find.include = [ "openff.packmol*" ]
[tool.setuptools_scm]
fallback_version = "0.0.0"
[tool.pixi]
workspace.channels = [ "conda-forge" ]
workspace.platforms = [ "linux-64", "osx-arm64" ]
dependencies.numpy = "*"
dependencies.openff-toolkit-base = "*"
dependencies.openff-utilities = "*"
dependencies.packaging = "*"
dependencies.pip = "*"
dependencies.python = "*"
dependencies.scipy = "*"
dependencies.setuptools-scm = "*"
pypi-dependencies.openff-packmol = { path = ".", editable = true }
tasks.run_mypy = { cmd = "python -m mypy -p 'openff.packmol'" }
tasks.run_tests = { cmd = "pytest $COV openff/packmol/" }
feature.ambertools.dependencies.ambertools = ">=24.8"
feature.ambertools.dependencies.numpy = "2.2.*" # ParmEd bugs
feature.dev.dependencies.pre-commit = "*"
feature.py312.dependencies.python = "3.12.*"
feature.py313.dependencies.python = "3.13.*"
feature.standalone.dependencies.packmol = "*"
feature.test.dependencies.openmm = "*"
feature.test.dependencies.pytest = "*"
feature.test.dependencies.pytest-cov = "*"
feature.test.dependencies.pytest-randomly = "*"
feature.test.dependencies.pytest-xdist = "*"
feature.test.dependencies.rdkit = "*"
feature.typing.dependencies.mypy = "*"
feature.typing.dependencies.scipy-stubs = "*"
environments.dev = [ "py313", "dev" ]
environments.py312-ambertools = [ "py312", "test", "ambertools" ]
environments.py312-standalone = [ "py312", "test", "standalone" ]
environments.py313-ambertools = [ "py313", "test", "ambertools" ]
environments.py313-standalone = [ "py313", "test", "standalone" ]
environments.typing = [ "py313", "typing" ]
[tool.ruff]
line-length = 119
namespace-packages = [ "openff/packmol/" ]
lint.select = [ "E", "F", "I", "NPY", "RUF", "UP", "W" ]
[tool.mypy]
exclude = "openff/packmol/_tests"
python_version = "3.12"
warn_unused_ignores = true
warn_unused_configs = true
overrides = [ { module = [
"openff.toolkit",
], ignore_missing_imports = true } ]
show_error_codes = true
[tool.pytest]
ini_options.addopts = "-n logical -x --cov=openff/packmol --cov-report=xml"
[tool.coverage]
run.omit = [
"*/*/_tests/*",
]
report.exclude_lines = [
"@overload",
"if TYPE_CHECKING:",
"pragma: no cover",
"raise NotImplementedError",
]