forked from bbalasub1/glmnet_python
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (28 loc) · 1.22 KB
/
setup.py
File metadata and controls
31 lines (28 loc) · 1.22 KB
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
import os, sys
from setuptools import setup, find_packages
# from numpy.distutils.core import setup, Extension
cmd = 'gfortran ./glmnet_python/GLMnet.f -fPIC -fdefault-real-8 -shared -o ./glmnet_python/GLMnet.so'
os.system(cmd)
exec(open('glmnet_python/_version.py').read())
setup(name='glmnet_python',
version =__version__,
description = 'Python version of glmnet, from Stanford University',
long_description=open('README.md').read(),
url="https://github.com/bbalasub1/glmnet_python",
author = 'Han Fang',
author_email = 'hanfang.cshl@gmail.com',
license = 'GPL-2',
packages=['glmnet_python'],
install_requires=['joblib>=0.10.3', 'future', 'scipy', 'matplotlib', 'numpy'],
package_data={'glmnet_python': ['*.so', 'glmnet_python/*.so']},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Mathematics',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Operating System :: Unix',
],
keywords='glm glmnet ridge lasso elasticnet',
)