-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
39 lines (35 loc) · 1.21 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
import setuptools
import subprocess
import os
try:
version = (
subprocess.check_output(["git", "describe", "--abbrev=0", "--tags"])
.strip()
.decode("utf-8")
)
except Exception as e:
print("Could not get version tag. Defaulting to version 0")
version = "0"
with open("requirements.txt") as f:
requirements = f.read().splitlines()
if __name__ == "__main__":
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="torchmd_cg",
version=version,
author="Acellera",
author_email="[email protected]",
description="TorchMD-CG. Coarse Grained molecular dynamics with pytorch",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/torchmd/torchmd_cg/",
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: MIT License",
],
packages=setuptools.find_packages(include=["torchmd_cg*"], exclude=[]),
# package_data={"torchmd_cg": ["config.ini", "logging.ini"],},
install_requires=requirements,
)