5 import setuptools.command.egg_info as egg_info_cmd
7 from setuptools import setup, find_packages
9 SETUP_DIR = os.path.dirname(__file__) or '.'
10 README = os.path.join(SETUP_DIR, 'README.rst')
14 tagger = gittaggers.EggInfoFromGit
16 tagger = egg_info_cmd.egg_info
18 short_tests_only = False
19 if '--short-tests-only' in sys.argv:
20 short_tests_only = True
21 sys.argv.remove('--short-tests-only')
23 setup(name='arvados-python-client',
25 description='Arvados client library',
26 long_description=open(README).read(),
28 author_email='info@arvados.org',
29 url="https://arvados.org",
30 download_url="https://github.com/curoverse/arvados.git",
32 packages=find_packages(),
44 ('share/doc/arvados-python-client', ['LICENSE-2.0.txt', 'README.rst']),
47 'google-api-python-client==1.4.2',
48 'oauth2client >=1.4.6, <2',
49 'pyasn1-modules==0.0.5',
52 'pycurl >=7.19.5.1, <7.21.5',
57 tests_require=['pbr<1.7.0', 'mock>=1.0', 'PyYAML'],
59 cmdclass={'egg_info': tagger},