2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: Apache-2.0
8 import setuptools.command.egg_info as egg_info_cmd
10 from setuptools import setup, find_packages
12 SETUP_DIR = os.path.dirname(__file__) or '.'
13 README = os.path.join(SETUP_DIR, 'README.rst')
17 tagger = gittaggers.EggInfoFromGit
19 tagger = egg_info_cmd.egg_info
21 short_tests_only = False
22 if '--short-tests-only' in sys.argv:
23 short_tests_only = True
24 sys.argv.remove('--short-tests-only')
26 setup(name='arvados-python-client',
28 description='Arvados client library',
29 long_description=open(README).read(),
31 author_email='info@arvados.org',
32 url="https://arvados.org",
33 download_url="https://github.com/curoverse/arvados.git",
35 packages=find_packages(),
41 'bin/arv-migrate-docker19',
48 ('share/doc/arvados-python-client', ['LICENSE-2.0.txt', 'README.rst']),
51 'ciso8601 >=1.0.0, <=1.0.4',
53 'google-api-python-client >=1.6.2, <1.7',
56 'ruamel.yaml >=0.13.7',
61 tests_require=['pbr<1.7.0', 'mock>=1.0', 'PyYAML'],
63 cmdclass={'egg_info': tagger},