6 import setuptools.command.egg_info as egg_info_cmd
8 from setuptools import setup, find_packages
10 SETUP_DIR = os.path.dirname(__file__) or '.'
11 README = os.path.join(SETUP_DIR, 'README.rst')
15 tagger = gittaggers.EggInfoFromGit
17 tagger = egg_info_cmd.egg_info
20 gitinfo = subprocess.check_output(
21 ['git', 'log', '--first-parent', '--max-count=1',
22 '--format=format:%H']).strip()
23 with open("arvados_cwl/_version.py", "w") as f:
24 f.write("__version__ = '%s'\n" % gitinfo)
25 except Exception as e:
29 setup(name='arvados-cwl-runner',
31 description='Arvados Common Workflow Language runner',
32 long_description=open(README).read(),
34 author_email='info@arvados.org',
35 url="https://arvados.org",
36 download_url="https://github.com/curoverse/arvados.git",
38 packages=find_packages(),
39 package_data={'arvados_cwl': ['arv-cwl-schema.yml']},
42 'bin/arvados-cwl-runner'
44 # Make sure to update arvados/build/run-build-packages.sh as well
45 # when updating the cwltool version pin.
47 'cwltool==1.0.20161007181528',
48 'arvados-python-client>=0.1.20160826210445'
51 ('share/doc/arvados-cwl-runner', ['LICENSE-2.0.txt', 'README.rst']),
54 tests_require=['mock>=1.0'],
56 cmdclass={'egg_info': tagger},