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(),
38 'bin/arv-migrate-docker19',
45 ('share/doc/arvados-python-client', ['LICENSE-2.0.txt', 'README.rst']),
50 'google-api-python-client >=1.6.2, <1.7',
53 'ruamel.yaml >=0.13.7',
58 tests_require=['pbr<1.7.0', 'mock>=1.0', 'PyYAML'],
60 cmdclass={'egg_info': tagger},