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]).split()
17 assert len(git_tags) == 2
18 except (AssertionError, OSError, subprocess.CalledProcessError):
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)
25 setup(name='arvados_fuse',
27 description='Arvados FUSE driver',
28 long_description=open(README).read(),
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'],
39 'arvados-python-client>=0.1.20141103223015.68dae83',
44 tests_require=['PyYAML'],