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')
15 tagger = egg_info_cmd.egg_info
16 version = os.environ.get("ARVADOS_BUILDING_VERSION")
21 tagger = gittaggers.EggInfoFromGit
25 short_tests_only = False
26 if '--short-tests-only' in sys.argv:
27 short_tests_only = True
28 sys.argv.remove('--short-tests-only')
30 setup(name='arvados-python-client',
32 description='Arvados client library',
33 long_description=open(README).read(),
35 author_email='info@arvados.org',
36 url="https://arvados.org",
37 download_url="https://github.com/curoverse/arvados.git",
39 packages=find_packages(),
45 'bin/arv-migrate-docker19',
52 ('share/doc/arvados-python-client', ['LICENSE-2.0.txt', 'README.rst']),
55 'ciso8601 >=1.0.0, <=1.0.4',
57 'google-api-python-client >=1.6.2, <1.7',
60 'ruamel.yaml >=0.13.7',
65 tests_require=['pbr<1.7.0', 'mock>=1.0', 'PyYAML'],
67 cmdclass={'egg_info': tagger},