12087: Fixup some problems found by go vet.
[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 import os
7 import sys
8 import setuptools.command.egg_info as egg_info_cmd
9
10 from setuptools import setup, find_packages
11
12 SETUP_DIR = os.path.dirname(__file__) or '.'
13 README = os.path.join(SETUP_DIR, 'README.rst')
14
15 try:
16     import gittaggers
17     tagger = gittaggers.EggInfoFromGit
18 except ImportError:
19     tagger = egg_info_cmd.egg_info
20
21 short_tests_only = False
22 if '--short-tests-only' in sys.argv:
23     short_tests_only = True
24     sys.argv.remove('--short-tests-only')
25
26 setup(name='arvados_fuse',
27       version='0.1',
28       description='Arvados FUSE driver',
29       long_description=open(README).read(),
30       author='Arvados',
31       author_email='info@arvados.org',
32       url="https://arvados.org",
33       download_url="https://github.com/curoverse/arvados.git",
34       license='GNU Affero General Public License, version 3.0',
35       packages=['arvados_fuse'],
36       scripts=[
37         'bin/arv-mount'
38         ],
39       data_files=[
40           ('share/doc/arvados_fuse', ['agpl-3.0.txt', 'README.rst']),
41       ],
42       install_requires=[
43         'arvados-python-client >= 0.1.20151118035730',
44         'llfuse>=1.2',
45         'python-daemon',
46         'ciso8601',
47         'setuptools'
48         ],
49       test_suite='tests',
50       tests_require=['pbr<1.7.0', 'mock>=1.0', 'PyYAML'],
51       zip_safe=False,
52       cmdclass={'egg_info': tagger},
53       )