forked from scikit-learn-contrib/stability-selection
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
28 lines (23 loc) · 744 Bytes
/
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
from __future__ import print_function
import sys
from setuptools import setup, find_packages
with open('requirements.txt') as f:
INSTALL_REQUIRES = [l.strip() for l in f.readlines() if l]
try:
import numpy
except ImportError:
print('numpy is required during installation')
sys.exit(1)
try:
import scipy
except ImportError:
print('scipy is required during installation')
sys.exit(1)
setup(name='stability-selection',
version='0.0.1',
description='A scikit-learn compatible implementation of stability selection for feature selection',
author='Thomas Huijskens',
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
author_email='[email protected]',
)