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