-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
64 lines (57 loc) · 1.81 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
import os
import versioneer
here = os.path.abspath(os.path.dirname(__file__))
ext_modules = []
def find_package_data(data_root, package_root):
files = []
for root, dirnames, filenames in os.walk(data_root):
for fn in filenames:
files.append(os.path.relpath(os.path.join(root, fn), package_root))
return files
# Get the long description from the README file
with open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="pele_platform",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Automatic platform to launch PELE simulations",
long_description=long_description,
url="https://github.com/NostrumBioDiscovery/pele_platform",
author="Nostrum Biodiscovery",
author_email="pelesupport@nostrumbiodiscovery.com",
packages=find_packages(exclude=["docs", "tests", "tests.data", ]),
package_data={
"pele_platform/AdaptivePELE/atomset": ["*.pxd"],
"pele_platform/AdaptivePELE/freeEnergies/": ["*.pyx"],
"pele_platform": find_package_data("pele_platform/data", "pele_platform")
},
include_package_data=True,
install_requires=[
"PyYAML",
"fpdf",
"scikit-learn>0.20",
"pillow",
"scipy",
"matplotlib",
"mdtraj==1.9.5",
"biopython",
"pandas==1.2.3",
"pytest",
"cython",
"numpy",
"peleffy>=1.4.3",
"hdbscan==0.8.27",
"AdaptivePELE>=1.7.1",
"frag_pele>=3.1.4",
"PPPele>=1.0.10",
"PlopRotTemp==1.0.1",
"seaborn",
"pyparsing==2.4.7",
"tqdm",
],
ext_modules=ext_modules, # accepts a glob pattern
)