8442: Bugfixes from end-to-end testing.
[arvados.git] / sdk / cwl / 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 setup(name='arvados-cwl-runner',
19       version='1.0',
20       description='Arvados Common Workflow Language runner',
21       long_description=open(README).read(),
22       author='Arvados',
23       author_email='info@arvados.org',
24       url="https://arvados.org",
25       download_url="https://github.com/curoverse/arvados.git",
26       license='Apache 2.0',
27       packages=find_packages(),
28       scripts=[
29           'bin/cwl-runner',
30           'bin/arvados-cwl-runner'
31       ],
32       install_requires=[
33           'cwltool==1.0.20160609160402',
34           'arvados-python-client>=0.1.20160322001610'
35       ],
36       data_files=[
37           ('share/doc/arvados-cwl-runner', ['LICENSE-2.0.txt', 'README.rst']),
38       ],
39       test_suite='tests',
40       tests_require=['mock>=1.0'],
41       zip_safe=True,
42       cmdclass={'egg_info': tagger},
43       )