forked from choderalab/thermopyl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
79 lines (70 loc) · 2.22 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
68
69
70
71
72
73
74
75
76
77
78
79
"""ThermoPyl: Python tools for ThermoML
"""
from __future__ import print_function, absolute_import
DOCLINES = __doc__.split("\n")
import os
import sys
import glob
import traceback
from os.path import join as pjoin
from setuptools import setup, Extension, find_packages
try:
sys.dont_write_bytecode = True
sys.path.insert(0, '.')
from basesetup import write_version_py, CompilerDetection, check_dependencies
finally:
sys.dont_write_bytecode = False
if '--debug' in sys.argv:
sys.argv.remove('--debug')
DEBUG = True
else:
DEBUG = False
# #########################
VERSION = '1.0.3'
ISRELEASED = True
__version__ = VERSION
# #########################
CLASSIFIERS = """\
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Programming Language :: C++
Programming Language :: Python
Development Status :: 4 - Beta
Topic :: Software Development
Topic :: Scientific/Engineering
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
"""
extensions = []
setup(name='thermopyl',
author='Kyle Beauchamp',
author_email='[email protected]',
description=DOCLINES[0],
long_description="\n".join(DOCLINES[2:]),
version=__version__,
url='https://github.com/choderalab/thermopyl',
platforms=['Linux', 'Mac OS-X', 'Unix'],
# classifiers=CLASSIFIERS.splitlines(),
packages=['thermopyl', 'thermopyl.tests', 'thermopyl.scripts'],
package_data={'thermopyl': ['data/*']}, # Install all data directories of the form /data/
zip_safe=False,
ext_modules=extensions,
install_requires=[
'six>=1.0',
'pandas>=1.0',
'pyxb==1.2.4',
'feedparser>=6.0',
'pyarrow>=6.0.0'
],
entry_points={'console_scripts': [
'thermoml-update-mirror = thermopyl.scripts.update_archive:main',
'thermoml-build-pandas = thermopyl.scripts.parse_xml:main',
]})