8654: Bump arvados-cwl-runner version dependency on arvados python client.
[arvados.git] / sdk / python / setup.py
1 #!/usr/bin/env python
2
3 import os
4 import sys
5 import setuptools.command.egg_info as egg_info_cmd
6
7 from setuptools import setup, find_packages
8
9 SETUP_DIR = os.path.dirname(__file__) or '.'
10 README = os.path.join(SETUP_DIR, 'README.rst')
11
12 try:
13     import gittaggers
14     tagger = gittaggers.EggInfoFromGit
15 except ImportError:
16     tagger = egg_info_cmd.egg_info
17
18 setup(name='arvados-python-client',
19       version='0.1',
20       description='Arvados client library',
21       long_description=open(README).read(),
22       author='Arvados',
23       author_email='info@arvados.org',
24       url="https://arvados.org",
25       download_url="https://github.com/curoverse/arvados.git",
26       license='Apache 2.0',
27       packages=find_packages(),
28       scripts=[
29           'bin/arv-copy',
30           'bin/arv-get',
31           'bin/arv-keepdocker',
32           'bin/arv-ls',
33           'bin/arv-normalize',
34           'bin/arv-put',
35           'bin/arv-run',
36           'bin/arv-ws'
37       ],
38       data_files=[
39           ('share/doc/arvados-python-client', ['LICENSE-2.0.txt', 'README.rst']),
40       ],
41       install_requires=[
42           'google-api-python-client==1.4.2',
43           'oauth2client >=1.4.6, <2',
44           'ciso8601',
45           'httplib2',
46           'pycurl >=7.19.5.1, <7.21.5',
47           'python-gflags<3.0',
48           'ws4py'
49       ],
50       test_suite='tests',
51       tests_require=['pbr<1.7.0', 'mock>=1.0', 'PyYAML'],
52       zip_safe=False,
53       cmdclass={'egg_info': tagger},
54       )