-
Notifications
You must be signed in to change notification settings - Fork 12
/
setup.py
73 lines (66 loc) · 2 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
import ast
import os
import re
import setuptools
reg = re.compile(r"__version__\s*=\s*(.+)")
with open(os.path.join("tpv", "__init__.py")) as f:
for line in f:
m = reg.match(line)
if m:
version = ast.literal_eval(m.group(1))
break
with open("README.md", "r") as fh:
long_description = fh.read()
# Galaxy's runtime environment and packages are implicitly assumed to be present, and only
# explicitly installed for tests.
REQS_FULL = [
"cachetools>=3.1.0",
"watchdog",
"requests",
"ruamel.yaml"
]
REQS_CLI = (['galaxy-app'] + REQS_FULL)
REQS_TEST = ([
'pytest',
'responses',
'tox>=2.9.1',
'coverage>=4.4.1',
'flake8>=3.4.1',
'flake8-import-order>=0.13'] + REQS_CLI
)
REQS_DEV = (['sphinx', 'sphinx_rtd_theme'] + REQS_TEST)
setuptools.setup(
name="total-perspective-vortex",
description="A library for routing entities (jobs, users or groups) to destinations in Galaxy",
version=version,
author="Galaxy and GVL projects",
author_email="[email protected]",
license="MIT",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/galaxyproject/total-perspective-vortex",
packages=setuptools.find_packages(),
install_requires=REQS_FULL,
extras_require={
'dev': REQS_DEV,
'test': REQS_TEST,
'cli': REQS_CLI,
},
entry_points={
'console_scripts': [
'tpv = tpv.commands.shell:main'
]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6"
],
test_suite="tests"
)