19872: Use fewer file handles by default, but increase the limit in arv-mount
[arvados.git] / sdk / python / setup.py
1 #!/usr/bin/env python3
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: Apache-2.0
5
6 from __future__ import absolute_import
7 import os
8 import sys
9 import re
10
11 from setuptools import setup, find_packages
12
13 SETUP_DIR = os.path.dirname(__file__) or '.'
14 README = os.path.join(SETUP_DIR, 'README.rst')
15
16 import arvados_version
17 version = arvados_version.get_version(SETUP_DIR, "arvados")
18
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')
23
24 setup(name='arvados-python-client',
25       version=version,
26       description='Arvados client library',
27       long_description=open(README).read(),
28       author='Arvados',
29       author_email='info@arvados.org',
30       url="https://arvados.org",
31       download_url="https://github.com/arvados/arvados.git",
32       license='Apache 2.0',
33       packages=find_packages(),
34       scripts=[
35           'bin/arv-copy',
36           'bin/arv-get',
37           'bin/arv-keepdocker',
38           'bin/arv-ls',
39           'bin/arv-migrate-docker19',
40           'bin/arv-federation-migrate',
41           'bin/arv-normalize',
42           'bin/arv-put',
43           'bin/arv-ws'
44       ],
45       data_files=[
46           ('share/doc/arvados-python-client', ['LICENSE-2.0.txt', 'README.rst']),
47       ],
48       install_requires=[
49           'ciso8601 >=2.0.0',
50           'future',
51           'google-api-core <2.11.0', # 2.11.0rc1 is incompatible with google-auth<2
52           'google-api-python-client >=1.6.2, <2',
53           'google-auth<2',
54           'httplib2 >=0.9.2, <0.20.2',
55           'pycurl >=7.19.5.1, <7.45.0',
56           'ruamel.yaml >=0.15.54, <0.17.22',
57           'setuptools',
58           'ws4py >=0.4.2',
59           'protobuf<4.0.0dev',
60           'pyparsing<3',
61           'setuptools>=40.3.0',
62       ],
63       classifiers=[
64           'Programming Language :: Python :: 3',
65       ],
66       test_suite='tests',
67       tests_require=['pbr<1.7.0', 'mock>=1.0,<4', 'PyYAML', 'parameterized'],
68       zip_safe=False
69       )