2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: Apache-2.0
6 from __future__ import absolute_import
11 from setuptools import setup, find_packages
13 SETUP_DIR = os.path.dirname(__file__) or '.'
14 README = os.path.join(SETUP_DIR, 'README.rst')
16 import arvados_version
17 version = arvados_version.get_version(SETUP_DIR, "arvados")
19 short_tests_only = False
20 if '--short-tests-only' in sys.argv:
21 short_tests_only = True
22 sys.argv.remove('--short-tests-only')
24 setup(name='arvados-python-client',
26 description='Arvados client library',
27 long_description=open(README).read(),
29 author_email='info@arvados.org',
30 url="https://arvados.org",
31 download_url="https://github.com/curoverse/arvados.git",
33 packages=find_packages(),
39 'bin/arv-migrate-docker19',
40 'bin/arv-federation-migrate',
47 ('share/doc/arvados-python-client', ['LICENSE-2.0.txt', 'README.rst']),
52 'google-api-python-client >=1.6.2, <1.7',
55 'ruamel.yaml >=0.15.54, <=0.15.77',
60 ':os.name=="posix" and python_version<"3"': ['subprocess32 >= 3.5.1'],
61 ':python_version<"3"': ['pytz'],
64 'Programming Language :: Python :: 2',
65 'Programming Language :: Python :: 3',
68 tests_require=['pbr<1.7.0', 'mock>=1.0', 'PyYAML'],