14198: test_submit passes
[arvados.git] / sdk / cwl / setup.py
1 #!/usr/bin/env python
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: Apache-2.0
5
6 from __future__ import absolute_import
7 import os
8 import sys
9
10 from setuptools import setup, find_packages
11
12 SETUP_DIR = os.path.dirname(__file__) or '.'
13 README = os.path.join(SETUP_DIR, 'README.rst')
14
15 import arvados_version
16 version = arvados_version.get_version(SETUP_DIR, "arvados_cwl")
17
18 setup(name='arvados-cwl-runner',
19       version=version,
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       package_data={'arvados_cwl': ['arv-cwl-schema.yml']},
29       scripts=[
30           'bin/cwl-runner',
31           'bin/arvados-cwl-runner',
32       ],
33       # Note that arvados/build/run-build-packages.sh looks at this
34       # file to determine what version of cwltool and schema-salad to build.
35       install_requires=[
36           'cwltool==1.0.20180806194258',
37           'schema-salad==2.7.20180719125426',
38           'typing >= 3.6.4',
39           # Need to limit ruamel.yaml version to 0.15.26 because of bug
40           # https://bitbucket.org/ruamel/yaml/issues/227/regression-parsing-flow-mapping
41           'ruamel.yaml >=0.13.11, <= 0.15.26',
42           'arvados-python-client>=1.1.4.20180607143841',
43           'setuptools',
44           'ciso8601 >=1.0.6, <2.0.0',
45           'subprocess32>=3.5.1',
46       ],
47       data_files=[
48           ('share/doc/arvados-cwl-runner', ['LICENSE-2.0.txt', 'README.rst']),
49       ],
50       test_suite='tests',
51       tests_require=[
52           'mock>=1.0',
53           'subprocess32>=3.5.1',
54       ],
55       zip_safe=True
56       )