-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (71 loc) · 2.08 KB
/
pyproject.toml
File metadata and controls
82 lines (71 loc) · 2.08 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
[project]
name = "hillclimber"
version = "0.1.8"
description = "Python interfaces for the plumed library with enhanced sampling."
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"ase>=3.25.0",
"metadynminer>=0.9.1",
"molify>=0.2.0",
"rdkit2ase>=0.1.13",
"seaborn>=0.13.2",
"zntrack>=0.8.9",
]
license = { file = "LICENSE" }
[build-system]
requires = [
"hatchling",
"Cython>=3.0",
"setuptools>=65.0", # For compiling Cython extensions
"pybind11>=2.11", # For pycv plugin
"cmake>=3.15", # For pycv plugin build
]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"cmake>=4.2.0",
"cython>=3.2.1",
"hatchling>=1.27.0",
"ipykernel>=6.30.1",
"jax>=0.8.1",
"pybind11>=3.0.1",
"pytest>=8.4.1",
"ipsuite>=0.2.8",
]
[project.scripts]
plumed = "plumed:cli"
[project.entry-points.'zntrack.nodes']
hillclimber = 'hillclimber.nodes:nodes'
[project.entry-points.'zntrack.interfaces']
hillclimber = 'hillclimber.interfaces:interfaces'
# Hatchling build configuration
[tool.hatch.build.targets.wheel]
packages = ["src/hillclimber"]
[tool.hatch.build.targets.wheel.sources]
"src" = ""
# plumed package is added via force_include in build hook
# to avoid duplicate file warnings
# Custom build hook to compile and bundle PLUMED
[tool.hatch.build.targets.wheel.hooks.custom]
path = "hatch_build_plumed.py"
[tool.hatch.build.targets.sdist]
exclude = [
"build/",
"src/plumed/_lib/",
"src/plumed/*.so*",
# Exclude PLUMED directories not needed for build
"external/plumed2/regtest/",
"external/plumed2/user-doc/",
"external/plumed2/developer-doc/",
"external/plumed2/new-manual/",
"external/plumed2/.ci/",
"external/plumed2/.github/",
"external/plumed2/astyle/",
"external/plumed2/macports/",
"external/plumed2/docker/",
"external/plumed2/conda/",
"external/plumed2/CHANGES/",
]
[tool.cibuildwheel.linux]
repair-wheel-command = "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/project/src/plumed/_lib/lib && auditwheel repair --exclude libplumedKernel.so -w {dest_dir} {wheel}"