forked from arung-northwestern/pyIsoP
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
61 lines (51 loc) · 2.48 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
"""
PyIsoP
A fast and accurate semi-analytic method for predicting small molecule adsorption in nanoporous
materials, ideal for high-throughput screening applications. Developed by Arun Gopalan at
R. Q. Snurr Research Group, Northwestern University.
"""
from setuptools import setup, Command
import versioneer
DOCLINES = __doc__.split("\n")
# class PyTest(Command):
# user_options = []
# def initialize_options(self):
# pass
# def finalize_options(self):
# pass
# def run(self):
# import subprocess
# import sys
# errno = subprocess.call([sys.executable, 'runtests.py'])
# raise SystemExit(errno)
# This is to use pyTest for running tests in the future
# cmd_dict = versioneer.get_cmdclass()
# cmd_dict.update({'test': PyTest})
setup(
# Self-descriptive entries which should always be present
name='pyIsoP',
author='Arun Gopalan',
description=DOCLINES[0],
long_description="\n".join(DOCLINES[2:]),
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
license='BSD-3-Clause',
# Which Python importable modules should be included when your package is installe d
packages=['pyIsoP', "pyIsoP.tests"],
# test_suite="pyIsoP.tests",
# cmdclass={test:'PyTest'},
# Optional include package data to ship with your package
# Comment out this line to prevent the files from being packaged with your software
# Extend/modify the list to include/exclude other items as need be
package_data={'pyIsoP': ["data/*.dat","data/*.joblib","data/*.cif","data/*.pdb","data/*.md", "tests/*"]},
# Additional entries you may want simply uncomment the lines you want and fill in the data
author_email='[email protected]', # Author email
# version='1.0.0',
url='https://github.com/arung-northwestern/pyIsoP', # Website
install_requires=["numpy>=1.13.3", "ase==3.16", "tqdm>=4.15", "pyevtk==1.1.1","pandas>=0.20.3","numba>=0.35","scikit-learn>=0.19.1","scipy>=1.1.0","pytest>=5.0.1","dask>=2.2.0", "dask_jobqueue>=0.6.2"], # Required packages, pulls from pip if needed; do not use for Conda deployment
platforms=['Linux','Unix', 'Windows'], # Valid platforms your code works on, adjust to your flavor
python_requires=">=3.6", # Python version restrictions
# Manual control if final package is compressible or not, set False to prevent the .egg from being made
# zip_safe=False,
)
# print(versioneer.get_cmdclass())