forked from mir-group/nequip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (40 loc) · 1.45 KB
/
setup.py
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
from setuptools import setup, find_packages
from pathlib import Path
# see https://packaging.python.org/guides/single-sourcing-package-version/
version_dict = {}
with open(Path(__file__).parents[0] / "nequip/_version.py") as fp:
exec(fp.read(), version_dict)
version = version_dict["__version__"]
del version_dict
setup(
name="nequip",
version=version,
description="NequIP is an open-source code for building E(3)-equivariant interatomic potentials.",
download_url="https://github.com/mir-group/nequip",
author="Simon Batzner, Albert Musealian, Lixin Sun, Mario Geiger, Anders Johansson, Tess Smidt",
python_requires=">=3.6",
packages=find_packages(include=["nequip", "nequip.*"]),
entry_points={
# make the scripts available as command line scripts
"console_scripts": [
"nequip-train = nequip.scripts.train:main",
"nequip-restart = nequip.scripts.restart:main",
"nequip-requeue = nequip.scripts.requeue:main",
"nequip-evaluate = nequip.scripts.evaluate:main",
"nequip-deploy = nequip.scripts.deploy:main",
]
},
install_requires=[
"numpy",
"ase",
"tqdm",
"torch>=1.8",
"torch_geometric==1.7.2",
"e3nn>=0.3.3",
"pyyaml",
"contextlib2;python_version<'3.7'", # backport of nullcontext
"typing_extensions;python_version<'3.8'",
"torch-runstats",
],
zip_safe=True,
)