3177: update test to select row in preview panel
[arvados.git] / services / fuse / setup.py
1 #!/usr/bin/env python
2
3 import os
4 import subprocess
5 import time
6
7 from setuptools import setup, find_packages
8
9 SETUP_DIR = os.path.dirname(__file__)
10 README = os.path.join(SETUP_DIR, 'README.rst')
11
12 cmd_opts = {'egg_info': {}}
13 try:
14     git_tags = subprocess.check_output(
15         ['git', 'log', '--first-parent', '--max-count=1',
16          '--format=format:%ct %h', SETUP_DIR]).split()
17     assert len(git_tags) == 2
18 except (AssertionError, OSError, subprocess.CalledProcessError):
19     pass
20 else:
21     git_tags[0] = time.strftime('%Y%m%d%H%M%S', time.gmtime(int(git_tags[0])))
22     cmd_opts['egg_info']['tag_build'] = '.{}.{}'.format(*git_tags)
23
24
25 setup(name='arvados_fuse',
26       version='0.1',
27       description='Arvados FUSE driver',
28       long_description=open(README).read(),
29       author='Arvados',
30       author_email='info@arvados.org',
31       url="https://arvados.org",
32       download_url="https://github.com/curoverse/arvados.git",
33       license='GNU Affero General Public License, version 3.0',
34       packages=['arvados_fuse'],
35       scripts=[
36         'bin/arv-mount'
37         ],
38       install_requires=[
39         'arvados-python-client>=0.1.20141103223015.68dae83',
40         'llfuse',
41         'python-daemon'
42         ],
43       test_suite='tests',
44       tests_require=['PyYAML'],
45       zip_safe=False,
46       options=cmd_opts,
47       )