forked from common-workflow-language/cwltool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·109 lines (103 loc) · 4.64 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#!/usr/bin/env python
import os
import sys
import setuptools.command.egg_info as egg_info_cmd
from setuptools import setup
SETUP_DIR = os.path.dirname(__file__)
README = os.path.join(SETUP_DIR, 'README.rst')
try:
import gittaggers
tagger = gittaggers.EggInfoFromGit
except ImportError:
tagger = egg_info_cmd.egg_info
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
setup(name='cwltool',
version='1.0',
description='Common workflow language reference implementation',
long_description=open(README).read(),
author='Common workflow language working group',
author_email='[email protected]',
url="https://github.com/common-workflow-language/cwltool",
download_url="https://github.com/common-workflow-language/cwltool",
# platforms='', # empty as is conveyed by the classifier below
# license='', # empty as is conveyed by the classifier below
packages=["cwltool", 'cwltool.tests'],
package_dir={'cwltool.tests': 'tests'},
package_data={'cwltool': ['schemas/draft-2/*.yml',
'schemas/draft-3/*.yml',
'schemas/draft-3/*.md',
'schemas/draft-3/salad/schema_salad/metaschema/*.yml',
'schemas/draft-3/salad/schema_salad/metaschema/*.md',
'schemas/v1.0/*.yml',
'schemas/v1.0/*.md',
'schemas/v1.0/salad/schema_salad/metaschema/*.yml',
'schemas/v1.0/salad/schema_salad/metaschema/*.md',
'schemas/v1.1.0-dev1/*.yml',
'schemas/v1.1.0-dev1/*.md',
'schemas/v1.1.0-dev1/salad/schema_salad/metaschema/*.yml',
'schemas/v1.1.0-dev1/salad/schema_salad/metaschema/*.md',
'cwlNodeEngine.js',
'cwlNodeEngineJSConsole.js',
'extensions.yml']},
include_package_data=True,
install_requires=[
'setuptools',
'requests >= 2.4.3',
'ruamel.yaml >= 0.12.4, < 0.15',
'rdflib >= 4.2.2, < 4.3.0',
'shellescape >= 3.4.1, < 3.5',
'schema-salad >= 2.6.20170927145003, < 3',
'typing >= 3.5.3',
'six >= 1.8.0',
'stars', # datacommons from here down
'isodate',
'pytz',
'python-dateutil',
'tabulate'
],
extras_require={
'deps': ["galaxy-lib >= 17.09.3"]
},
setup_requires=[] + pytest_runner,
test_suite='tests',
tests_require=['pytest', 'mock >= 2.0.0',],
entry_points={
'console_scripts': ["cwltool=cwltool.main:main"]
},
zip_safe=True,
cmdclass={'egg_info': tagger},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Healthcare Industry',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Operating System :: OS Independent',
'Operating System :: Microsoft :: Windows',
'Operating System :: Microsoft :: Windows :: Windows 10',
'Operating System :: Microsoft :: Windows :: Windows 8.1',
# 'Operating System :: Microsoft :: Windows :: Windows 8', # not tested
# 'Operating System :: Microsoft :: Windows :: Windows 7', # not tested
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Medical Science Apps.',
'Topic :: System :: Distributed Computing',
'Topic :: Utilities',
]
)