-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (59 loc) · 2.84 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
# setuptools installation of GromacsWrapper
# Copyright (c) 2008-2011 Oliver Beckstein <orbeckst@gmail.com>
# Released under the GNU Public License 3 (or higher, your choice)
#
# See the files INSTALL and README for details or visit
# http://sbcb.bioch.ox.ac.uk/oliver/software/GromacsWrapper/
from __future__ import with_statement
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
with open("README.rst") as readme:
long_description = readme.read()
# Dynamically calculate the version based on gromacs.VERSION.
# (but requires that we can actually import the package BEFORE it is
# properly installed!)
version = __import__('gromacs').get_version()
setup(name="GromacsWrapper",
version=version,
description="A python wrapper around the gromacs tools.",
long_description=long_description,
author="Oliver Beckstein",
author_email="orbeckst@gmail.com",
license="GPLv3",
url="://github.com/orbeckst/GromacsWrapper",
download_url="https://github.com/orbeckst/GromacsWrapper/downloads",
keywords="science Gromacs analysis 'molecular dynamics'",
classifiers=['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Chemistry',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=find_packages(exclude=['tests','scripts','extras','doc/examples']),
scripts = ['scripts/gw-fit_strip_trajectories.py',
'scripts/gw-join_parts.py',
'scripts/gw-merge_topologies.py',
],
package_data={'gromacs': ['templates/*.sge', 'templates/*.pbs', # template files
'templates/*.ll', 'templates/*.sh',
'templates/*.mdp', 'templates/*.cfg',
'external/GridMAT-MD_v1.0.2/GridMAT-MD.pl'], # external bundled scripts
'vmd': ['*.tcl'], # server start in VMD
},
install_requires = ['numpy>=1.0',
'scipy', # numkit needs it
], # basic package (w/o analysis)
extras_require = {
'analysis': ['matplotlib>=0.91.3',
'RecSQL>=0.7',
],
'numkit': ['scipy'],
},
zip_safe = True,
)