-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
77 lines (69 loc) · 2.67 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
from setuptools import setup, find_packages
# Version information is found in the __init__ file of `janis/`
DESCRIPTION = "Contains classes and helpers to build a workflow, and provide options to convert to CWL / WDL"
JANIS_CORE_VERSION = "v0.13.1"
JANIS_ASSISTANT_VERSION = "v0.13.0"
JANIS_UNIX_VERSION = "v0.12.0"
JANIS_BIOINFORMATICS_VERSION = "v0.12.2"
JANIS_PIPELINES_VERSION = "v0.13.0"
JANIS_TEMPLATES_VERSION = "v0.12.0"
######## SHOULDN'T NEED EDITS BELOW THIS LINE ########
fixed_core_version = f"janis-pipelines.core==" + JANIS_CORE_VERSION
fixed_assistant_version = f"janis-pipelines.runner==" + JANIS_ASSISTANT_VERSION
fixed_unix_version = f"janis-pipelines.unix==" + JANIS_UNIX_VERSION
fixed_bioinf_version = (
f"janis-pipelines.bioinformatics==" + JANIS_BIOINFORMATICS_VERSION
)
fixed_pipes_version = f"janis-pipelines.pipelines==" + JANIS_PIPELINES_VERSION
fixed_templs_version = f"janis-pipelines.templates==" + JANIS_TEMPLATES_VERSION
with open("./README.md") as readme:
long_description = readme.read()
vsn = {}
with open("./janis/__meta__.py") as fp:
exec(fp.read(), vsn)
__version__ = vsn["__version__"]
githuburl = vsn["GITHUB_URL"]
modules = ["janis_assistant." + p for p in sorted(find_packages("./janis_assistant"))]
fixed_unix_version = f"janis-pipelines.unix==" + JANIS_UNIX_VERSION
setup(
name="janis-pipelines",
version=__version__,
description=DESCRIPTION,
url=githuburl,
author="Michael Franklin, Richard Lupat",
author_email="[email protected]",
license="GNU",
keywords=["pipelines", "bioinformatics"],
packages=["janis", "janisdk"]
+ ["janis." + p for p in sorted(find_packages("./janis"))]
+ ["janisdk." + p for p in sorted(find_packages("./janisdk"))],
install_requires=[
fixed_core_version,
fixed_assistant_version,
fixed_unix_version,
fixed_bioinf_version,
fixed_pipes_version,
fixed_templs_version,
],
extras_require={
"bioinformatics": [fixed_bioinf_version, fixed_pipes_version],
"doc": ["docutils", "sphinx", "sphinx_rtd_theme", "recommonmark"],
"ci": [
"keyring==21.4.0",
"setuptools",
"wheel",
"twine",
],
},
entry_points={"console_scripts": ["janisdk=janisdk.main:process_args"]},
zip_safe=False,
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
)