forked from shirtsgroup/InterMol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·73 lines (65 loc) · 2.43 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
"""InterMol: A conversion tool for molecular dynamics simulations.
"""
from __future__ import print_function
import os
import sys
from setuptools import setup, find_packages
#####################################
VERSION = "0.1.0"
ISRELEASED = False
if ISRELEASED:
__version__ = VERSION
else:
__version__ = VERSION + '.dev0'
#####################################
with open('intermol/version.py', 'w') as version_file:
version_file.write('version="{0}"\n'.format(__version__))
with open('__conda_version__.txt', 'w') as conda_version:
conda_version.write(__version__)
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
with open('requirements.txt') as reqs_file:
reqs = [line.strip() for line in reqs_file]
setup(
name='intermol',
version=__version__,
description=__doc__,
author='Christoph Klein, Christopher Lee, Ellen Zhong, and Michael Shirts',
author_email='ctk3b@virginia.edu, ctl4f@virginia.edu, edz3fz@virginia.edu, '
'michael.shirts@virginia.edu',
url='https://github.com/shirtsgroup/intermol',
download_url='https://github.com/shirtsgroup/intermol/tarball/{}'.format(__version__),
packages=find_packages(),
package_dir={'intermol': 'intermol'},
package_data={'tests': ['*.py',
'*.md',
'desmond/*.cfg',
'desmond/*/*.cms',
'gromacs/*.mdp',
'gromacs/*/*/*.gro',
'gromacs/*/*/*.top',
'gromacs/*/*/*.itp',
'lammps/*/*.lmp',
'lammps/*/*.input',
'amber/*.in',
'amber/*/*',
]},
include_package_data=True,
install_requires=reqs,
license="MIT",
zip_safe=False,
keywords='intermol',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Environment :: Console',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)