-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
31 lines (26 loc) · 990 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
29
30
31
from setuptools import setup, find_packages
import os
version = None
with open(os.path.join('yaglm', '__init__.py'), 'r') as fid:
for line in (line.strip() for line in fid):
if line.startswith('__version__'):
version = line.split('=')[1].strip().strip('\'')
break
if version is None:
raise RuntimeError('Could not determine version')
install_requires = ['numpy',
'pandas',
'scikit-learn',
'scipy'
]
setup(name='yaglm',
version=version,
description='A python package for penalized generalized linear models that supports fitting and model selection for structured, adaptive and non-convex penalties.',
author='Iain Carmichael',
author_email='idc9@cornell.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
test_suite='nose.collector',
tests_require=['nose'],
zip_safe=False)