This repository has been archived by the owner on Aug 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
75 lines (65 loc) · 1.57 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
"""
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
pandas
xarray
param
""".split()
full_requirements = """
Boruta
bokeh
click
datashader
h5py
holoviews
matplotlib
jupyterlab
graphviz
methodtools
netcdf4
panel
scikit-learn
scipy
seaborn
statsmodels
umap_learn
""".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='v0.5beta1',
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': [
'nbsite==0.6.7',
'nbsphinx',
'selenium',
'sphinx_ioam_theme',
],
'R_support': [
'rpy2'
]
}
)