-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
56 lines (51 loc) · 2.03 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
# -----------------------------------------------------------
# Copyright (C) 2009 StatPro Italia s.r.l.
#
# StatPro Italia
# Via G. B. Vico 4
# I-20123 Milano
# ITALY
#
# phone: +39 02 96875 1
# fax: +39 02 96875 605
#
# This program is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the license for more details.
# -----------------------------------------------------------
#
# Author: Enrico Sirola <[email protected]>
# Author: Dan Blanchard <[email protected]>
from setuptools import setup, find_packages
packages = find_packages()
package_data = dict([ (x, ['test/*.py']) for x in packages])
# To get around the fact that you can't import stuff from packages in setup.py
exec(compile(open('drmaa/version.py').read(), 'drmaa/version.py', 'exec'))
# (we use the above instead of execfile for Python 3.x compatibility)
def readme():
with open('README.rst') as f:
return f.read()
setup(name="drmaa",
version=__version__,
packages=packages,
package_data=package_data,
author="Dan Blanchard",
author_email="[email protected]",
description="a python DRMAA library",
long_description=readme(),
license="BSD",
keywords="python grid hpc drmaa",
url="https://github.com/pygridtools/drmaa-python",
tests_require='nose',
test_suite='nose.collector',
classifiers=["Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Distributed Computing"])