This repository has been archived by the owner on Aug 25, 2023. It is now read-only.
/
setup.py
83 lines (73 loc) · 1.77 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
"""
Installation script for GSForge.
This script checks if the ``GSFORGE_INSTALL_CORE`` environment variable exists,
if so the requirements installed are a reduced set, so as to make containers
made this way smaller.
This means that each workflow script made in this way should have its own
requirements.txt file containing any packages used (if you wish to make a
docker image for your script).
"""
import os
from setuptools import setup, find_packages
# These are the packages used by the classes in ''GSForge.models''.
requirements = """
numpy>=1.17.3
pandas>=1.3
xarray>=0.12.3
param
""".split()
full_requirements = """
Boruta
bokeh
click
datashader
h5py
holoviews
matplotlib
graphviz
methodtools
netcdf4
panel
scikit-learn
scipy
seaborn
statsmodels
umap_learn
pynndescent
selenium
upsetplot
""".split()
# An optional environment variable can be set to install this package without
# many of its visualization dependencies.
env_install_hook = os.environ.get("GSFORGE_INSTALL_CORE")
if not env_install_hook:
requirements += full_requirements
setup(
name='GSForge',
version='v1.0.2',
packages=find_packages(),
url='https://systemsgenetics.github.io/GSForge/',
license='LICENSE.txt',
author='Tyler Biggs',
author_email='tyler.biggs@wsu.edu',
description='Feature (gene) selection package for gene expression data.',
python_requires='>=3.6',
install_requires=requirements,
extras_require={
'docs': [
'sphinx',
'nbsphinx',
'selenium',
'sphinx-gallery',
'sphinx-rtd-theme',
'jupyterlab',
# 'jupytext',
'recommonmark',
'myst-nb',
# 'jupyter-cache[cli]',
],
'R_support': [
'rpy2'
]
}
)