Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
113 lines (95 loc) · 3.75 KB
/
Copy pathpyproject.toml
File metadata and controls
113 lines (95 loc) · 3.75 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
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fes_ml"
description = "A package to run hybrid ML/MM free energy simulations."
requires-python = ">=3.10"
keywords = ["free energy simulations", "free energy", "force field", "machine learning", "openmm"]
authors = [{name = "Joao Morado", email = "jmorado@ed.ac.uk"}]
maintainers = [{name = "Joao Morado", email = "jmorado@ed.ac.uk"}]
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Chemistry",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
# Core dependencies. Sire, AmberTools and openmm-torch are realistically conda-only:
# the extras below describe the groups, and the conda environment files install them.
dependencies = [
"openmm>=8.1",
"numpy",
"networkx",
"h5py",
]
[project.scripts]
fes-ml = "fes_ml.cli:main"
fes-ml-analyse = "fes_ml.analysis:main"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.license]
file = "LICENSE.md"
content-type = "text/markdown"
[project.optional-dependencies]
sire = ["sire"]
openff = ["openff-toolkit", "openff-interchange"]
ml = ["openmm-ml", "openmm-torch", "torch", "torchani"]
emle = ["emle-engine", "sire"]
viz = ["matplotlib"]
analysis = ["pymbar"]
protocol = ["pyyaml"]
tests = ["pytest", "pytest-cov"]
dev = ["pytest", "pytest-cov", "ruff", "mypy", "pre-commit"]
docs = ["mkdocs>=1.6", "mkdocs-material>=9.5", "mkdocstrings[python]>=0.26"]
[project.urls]
repository = "https://github.com/michellab/fes-ml"
[project.entry-points."alchemical.modifications"]
LJSoftCore = "fes_ml.alchemical.modifications.lj_softcore:LJSoftCoreModification"
ChargeScaling = "fes_ml.alchemical.modifications.charge_scaling:ChargeScalingModification"
IntraMolecularNonBondedForces = "fes_ml.alchemical.modifications.intramolecular:IntraMolecularNonBondedForcesModification"
IntraMolecularNonBondedExceptions = "fes_ml.alchemical.modifications.intramolecular:IntraMolecularNonBondedExceptionsModification"
IntraMolecularBondedRemoval = "fes_ml.alchemical.modifications.intramolecular:IntraMolecularBondedRemovalModification"
MLPotential = "fes_ml.alchemical.modifications.ml_potential:MLPotentialModification"
MLInterpolation = "fes_ml.alchemical.modifications.ml_interpolation:MLInterpolationModification"
MLCorrection = "fes_ml.alchemical.modifications.ml_correction:MLCorrectionModification"
EMLEPotential = "fes_ml.alchemical.modifications.emle_potential:EMLEPotentialModification"
CustomLJ = "fes_ml.alchemical.modifications.custom_lj:CustomLJModification"
ChargeTransfer = "fes_ml.alchemical.modifications.charge_transfer:ChargeTransferModification"
[tool.coverage.run]
source = ['src/fes_ml']
[tool.setuptools.dynamic]
version = {attr = "fes_ml.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["fes_ml*"]
[tool.ruff]
fix = true
line-length = 144
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E203"]
[tool.ruff.lint.isort]
known-first-party = ["fes_ml"]
combine-as-imports = true
force-single-line = false
[tool.mypy]
python_version = "3.12"
warn_return_any = true
warn_unused_configs = true
# Lenient start (Phase 4): tighten module by module.
ignore_missing_imports = true
implicit_optional = true
files = ["src/fes_ml"]
[[tool.mypy.overrides]]
# Not yet clean; remove a module from this list once mypy passes on it.
module = ["fes_ml.fes", "fes_ml.alchemical.strategies.openff_strategy"]
ignore_errors = true
[tool.pytest.ini_options]
testpaths = ["tests"]