-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
59 lines (53 loc) · 1.93 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
"""OpenMM Setup: User interface for preparing and running OpenMM simulations
This is an application for configuring and running simulations with OpenMM. It
provides a graphical interface for selecting input files, cleaning up PDB
structures, and setting simulation options. It can then either save a script
for running the simulation later, or directly run the simulation itself.
"""
from __future__ import print_function
import os
import sys
from os.path import relpath, join
from setuptools import setup, find_packages
DOCLINES = __doc__.split("\n")
########################
__version__ = '1.5'
VERSION = __version__
ISRELEASED = False
########################
CLASSIFIERS = """\
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
Intended Audience :: End Users/Desktop
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Scientific/Engineering :: Bio-Informatics
Topic :: Scientific/Engineering :: Chemistry
Topic :: Scientific/Engineering :: Physics
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
"""
def find_package_data():
files = []
for root, dirnames, filenames in os.walk('openmmsetup'):
for fn in filenames:
files.append(relpath(join(root, fn), 'openmmsetup'))
return files
setup(
name='OpenMM-Setup',
author='Peter Eastman',
description=DOCLINES[0],
long_description="\n".join(DOCLINES[2:]),
version=__version__,
license='MIT',
url='https://github.com/peastman/openmm-setup',
platforms=['Linux', 'Mac OS-X', 'Unix', 'Windows'],
classifiers=CLASSIFIERS.splitlines(),
packages=find_packages(),
package_data={'openmmsetup': find_package_data()},
zip_safe=False,
install_requires=['flask', 'openmm >= 8.1', 'pdbfixer >= 1.5'],
entry_points={'console_scripts': ['openmm-setup = openmmsetup.openmmsetup:main']})