2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: Apache-2.0
6 from __future__ import absolute_import
10 from setuptools import setup, find_packages
12 SETUP_DIR = os.path.dirname(__file__) or '.'
13 README = os.path.join(SETUP_DIR, 'README.rst')
15 import arvados_version
16 version = arvados_version.get_version(SETUP_DIR, "arvados_cwl")
17 if os.environ.get('ARVADOS_BUILDING_VERSION', False):
18 pysdk_dep = "=={}".format(version)
20 # On dev releases, arvados-python-client may have a different timestamp
21 pysdk_dep = "<={}".format(version)
23 setup(name='arvados-cwl-runner',
25 description='Arvados Common Workflow Language runner',
26 long_description=open(README).read(),
28 author_email='info@arvados.org',
29 url="https://arvados.org",
30 download_url="https://github.com/arvados/arvados.git",
32 packages=find_packages(),
33 package_data={'arvados_cwl': ['arv-cwl-schema-v1.0.yml', 'arv-cwl-schema-v1.1.yml', 'arv-cwl-schema-v1.2.yml']},
34 entry_points={"console_scripts": ["cwl-runner=arvados_cwl:main", "arvados-cwl-runner=arvados_cwl:main"]},
35 # Note that arvados/build/run-build-packages.sh looks at this
36 # file to determine what version of cwltool and schema-salad to
39 'cwltool==3.1.20230601100705',
40 'schema-salad==8.4.20230601112322',
41 'arvados-python-client{}'.format(pysdk_dep),
45 'importlib-metadata<5',
48 # zipp 3.16 dropped support for Python 3.7
49 'zipp<3.16.0; python_version<"3.8"'
52 ('share/doc/arvados-cwl-runner', ['LICENSE-2.0.txt', 'README.rst']),
54 python_requires=">=3.5, <4",
56 'Programming Language :: Python :: 3',