-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathpyproject.toml
61 lines (51 loc) · 1.82 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
[project]
name = "torchmd-net"
description = "TorchMD-NET provides state-of-the-art neural networks potentials for biomolecular systems"
authors = [{ name = "Acellera", email = "info@acellera.com" }]
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
dynamic = ["version"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
]
dependencies = [
"h5py",
# "nnpops",
"torch>=2.5",
"torch_geometric",
"lightning",
"tqdm",
"numpy"
]
[project.urls]
"Homepage" = "https://github.com/torchmd/torchmd-net"
"Bug Tracker" = "https://github.com/torchmd/torchmd-net/issues"
[project.scripts]
torchmd-train = "torchmdnet.scripts.train:main"
[tool.setuptools_scm]
[tool.setuptools.packages.find]
include = ["torchmdnet*"]
[tool.setuptools.exclude-package-data]
"*" = ["*.c", "*.cpp", "*.h", "*.cuh", "*.cu", ".gitignore"]
[build-system]
requires = ["setuptools>=78", "setuptools-scm>=8", "torch>=2.5", "numpy"]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
# Disable builds which can't support CUDA and pytorch
skip = ["cp38-*", "pp*", "*win32", "*armv7l", "*_i686", "*_ppc64le", "*_s390x", "*_universal2", "*-musllinux_*"]
test-requires = ["pytest", "pytest-xdist"]
test-command = "pytest {project}/tests"
manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"
environment-pass = ["CIBW_ARCHS"]
# container-engine = "docker; create_args: --gpus all"
[tool.cibuildwheel.linux]
repair-wheel-command = [
"auditwheel repair --exclude libc10.so --exclude libc10_cuda.so --exclude libtorch.so --exclude libtorch_cuda.so --exclude libtorch_cpu.so --exclude libtorch_python.so -w {dest_dir} {wheel}",
]
[tool.cibuildwheel.macos]
repair-wheel-command = [
"delocate-wheel --ignore-missing-dependencies --require-archs {delocate_archs} -w {dest_dir} -v {wheel}",
]