14645: Adds op counts to reporting
[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
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_fuse',
25       version=version,
26       description='Arvados FUSE driver',
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/curoverse/arvados.git",
32       license='GNU Affero General Public License, version 3.0',
33       packages=['arvados_fuse'],
34       scripts=[
35         'bin/arv-mount'
36         ],
37       data_files=[
38           ('share/doc/arvados_fuse', ['agpl-3.0.txt', 'README.rst']),
39       ],
40       install_requires=[
41         'arvados-python-client >= 0.1.20151118035730',
42         # llfuse 1.3.4 fails to install via pip
43         'llfuse >=1.2, <1.3.4',
44         'python-daemon',
45         'ciso8601 >= 2.0.0',
46         'setuptools',
47         "prometheus_client"
48         ],
49       extras_require={
50           ':python_version<"3"': ['pytz'],
51       },
52       test_suite='tests',
53       tests_require=['pbr<1.7.0', 'mock>=1.0', 'PyYAML'],
54       zip_safe=False
55       )