-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathsetup.py
70 lines (57 loc) · 2.79 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
# -*- coding: utf-8 -*-
# Written (W) 2008-2012 Christian Widmer
# Written (W) 2008-2010 Cheng Soon Ong
# Written (W) 2012-2014 Daniel Blanchard, [email protected]
# Copyright (C) 2008-2012 Max-Planck-Society, 2012-2014 ETS
# This file is part of GridMap.
# GridMap is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# GridMap is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with GridMap. If not, see <http://www.gnu.org/licenses/>.
import sys
from setuptools import find_packages, setup
# To get around the fact that you can't import stuff from packages in setup.py
exec(compile(open('gridmap/version.py').read(), 'gridmap/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()
def requirements():
with open('requirements.txt') as f:
reqs = f.read().splitlines()
return reqs
setup(name='gridmap',
version=__version__,
description=('Easily map Python functions onto a cluster using a ' +
'DRMAA-compatible grid engine like Sun Grid Engine (SGE).'),
long_description=readme(),
keywords='drmaa sge cluster distributed parallel',
url='http://github.com/EducationalTestingService/gridmap',
author='Daniel Blanchard',
author_email='[email protected]',
license='GPL',
packages=find_packages(exclude=["tests"]),
install_requires=requirements(),
entry_points={'console_scripts': ['gridmap_web = gridmap.web:main']},
classifiers=['Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'],
zip_safe=False)