documentation: update descriptions for MaxKeepBlobBuffers and MaxConcurrentRequests
[arvados.git] / services / fuse / setup.py
1 #!/usr/bin/env python
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.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_fuse")
18 if os.environ.get('ARVADOS_BUILDING_VERSION', False):
19     pysdk_dep = "=={}".format(version)
20 else:
21     # On dev releases, arvados-python-client may have a different timestamp
22     pysdk_dep = "<={}".format(version)
23
24 short_tests_only = False
25 if '--short-tests-only' in sys.argv:
26     short_tests_only = True
27     sys.argv.remove('--short-tests-only')
28
29 setup(name='arvados_fuse',
30       version=version,
31       description='Arvados FUSE driver',
32       long_description=open(README).read(),
33       author='Arvados',
34       author_email='info@arvados.org',
35       url="https://arvados.org",
36       download_url="https://github.com/arvados/arvados.git",
37       license='GNU Affero General Public License, version 3.0',
38       packages=['arvados_fuse'],
39       scripts=[
40         'bin/arv-mount'
41         ],
42       data_files=[
43           ('share/doc/arvados_fuse', ['agpl-3.0.txt', 'README.rst']),
44       ],
45       install_requires=[
46         'arvados-python-client{}'.format(pysdk_dep),
47         'llfuse >= 1.3.6',
48         'future',
49         'python-daemon',
50         'ciso8601 >= 2.0.0',
51         'setuptools',
52         "prometheus_client"
53         ],
54       extras_require={
55           ':python_version<"3"': ['pytz'],
56       },
57       classifiers=[
58           'Programming Language :: Python :: 2',
59           'Programming Language :: Python :: 3',
60       ],
61       test_suite='tests',
62       tests_require=['pbr<1.7.0', 'mock>=1.0', 'PyYAML'],
63       zip_safe=False
64       )