forked from choderalab/openmoltools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (57 loc) · 1.86 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
65
66
67
"""openmoltools: Tools for Small Molecules, Antechamber, OpenMM, and More.
"""
from __future__ import print_function
DOCLINES = __doc__.split("\n")
import os
import sys
import shutil
import tempfile
import subprocess
from distutils.ccompiler import new_compiler
from setuptools import setup, Extension
import numpy
try:
from Cython.Distutils import build_ext
setup_kwargs = {'cmdclass': {'build_ext': build_ext}}
cython_extension = 'pyx'
except ImportError:
setup_kwargs = {}
cython_extension = 'c'
##########################
VERSION = "0.6.5.dev0"
ISRELEASED = False
__version__ = VERSION
##########################
CLASSIFIERS = """\
Development Status :: 3 - Alpha
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Programming Language :: C
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Scientific/Engineering :: Bio-Informatics
Topic :: Scientific/Engineering :: Chemistry
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
"""
extensions = []
setup(name='openmoltools',
author='Kyle A. Beauchamp',
author_email='kyleabeauchamp@gmail.com',
description=DOCLINES[0],
long_description="\n".join(DOCLINES[2:]),
version=__version__,
license='GPLv3+',
url='http://github.com/choderalab/openmoltools',
platforms=['Linux', 'Mac OS-X', 'Unix'],
classifiers=CLASSIFIERS.splitlines(),
packages=["openmoltools", "openmoltools.tests"],
zip_safe=False,
scripts=['scripts/generate_example_data.py', 'scripts/processAmberForceField.py'],
ext_modules=extensions,
package_data={'openmoltools': ['chemicals/*/*']}, # Install all data directories of the form testsystems/data/X/
**setup_kwargs
)