forked from PMCC-BioinformaticsCore/janis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (57 loc) · 2.37 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
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.9.19"
JANIS_ASSISTANT_VERSION = "v0.9.18"
JANIS_UNIX_VERSION = "v0.9.2"
JANIS_BIOINFORMATICS_VERSION = "v0.9.14"
JANIS_PIPELINES_VERSION = "v0.9.5"
JANIS_TEMPLATES_VERSION = "v0.9.4"
######## SHOULDN'T NEED EDITS BELOW THIS LINE ########
min_core_version = f"janis-pipelines.core>=" + JANIS_CORE_VERSION
min_assistant_version = f"janis-pipelines.runner>=" + JANIS_ASSISTANT_VERSION
min_unix_version = f"janis-pipelines.unix>=" + JANIS_UNIX_VERSION
min_bioinf_version = f"janis-pipelines.bioinformatics>=" + JANIS_BIOINFORMATICS_VERSION
min_pipes_version = f"janis-pipelines.pipelines>=" + JANIS_PIPELINES_VERSION
min_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"))]
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", "toolbuilder"]
+ ["janis." + p for p in sorted(find_packages("./janis"))]
+ ["toolbuilder." + p for p in sorted(find_packages("./toolbuilder"))],
install_requires=[
min_core_version,
min_assistant_version,
min_unix_version,
min_bioinf_version,
min_pipes_version,
min_templs_version,
],
extras_require={"bioinformatics": [min_bioinf_version, min_pipes_version]},
entry_points={"console_scripts": ["janisbuilder=toolbuilder.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",
],
)