forked from galaxyproject/bioblend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (45 loc) · 1.85 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
# http://bugs.python.org/issue15881#msg170215
import multiprocessing # noqa
import ast
import os.path
import re
import sys
from setuptools import setup, find_packages
# Cannot use "from bioblend import get_version" because that would try to import
# the six package which may not be installed yet.
reg = re.compile(r'__version__\s*=\s*(.+)')
with open(os.path.join('bioblend', '__init__.py')) as f:
for line in f:
m = reg.match(line)
if m:
version = ast.literal_eval(m.group(1))
break
tests_require = ['nose>=1.3.1']
if sys.version_info < (2, 7):
tests_require.extend(['mock>=0.7.0,<=1.0.1', 'unittest2>=0.5.1'])
elif sys.version_info < (3, 3):
tests_require.append('mock>=0.7.0')
setup(name="bioblend",
version=version,
description="CloudMan and Galaxy API library",
author="Enis Afgan",
author_email="[email protected]",
url="http://bioblend.readthedocs.org/",
install_requires=['requests>=2.4.3', 'requests-toolbelt', 'boto>=2.9.7',
'pyyaml', 'six', 'python-novaclient'],
tests_require=tests_require,
packages=find_packages(),
license='MIT',
platforms="Posix; MacOS X; Windows",
classifiers=["Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4"],
test_suite='nose.collector')