7 from setuptools import setup, find_packages
9 SETUP_DIR = os.path.dirname(__file__)
10 README = os.path.join(SETUP_DIR, 'README.rst')
12 cmd_opts = {'egg_info': {}}
14 git_tags = subprocess.check_output(
15 ['git', 'log', '--first-parent', '--max-count=1',
16 '--format=format:%ct %h', SETUP_DIR],
17 stderr=open('/dev/null','w')).split()
18 assert len(git_tags) == 2
19 except (AssertionError, OSError, subprocess.CalledProcessError):
22 git_tags[0] = time.strftime('%Y%m%d%H%M%S', time.gmtime(int(git_tags[0])))
23 cmd_opts['egg_info']['tag_build'] = '.{}.{}'.format(*git_tags)
26 setup(name='arvados_fuse',
28 description='Arvados FUSE driver',
29 long_description=open(README).read(),
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'],
40 'arvados-python-client>=0.1.20141103223015.68dae83',
45 tests_require=['PyYAML'],