dwf / glmnet-python

Wrappers of Jerome Friedman's coordinate-descent Fortran implementation of lasso/elastic net regression from the R "glmnet" package.
GNU General Public License v2.0
35 stars 25 forks source link

bug in setup.py #4

Open roseperrone opened 10 years ago

roseperrone commented 10 years ago

The Configuration(package_name).to_dict() result already includes the packages=[package_name] entry.

By including it in setup() and in the config_dict mapping, setup() is supplied that keyword twice. You could remove it from the setup() call (line 31):

setup(version='1.1-5', description='Python wrappers for the GLMNET package', author='David Warde-Farley', author_email='dwf@cs.toronto.edu', url='github.com/dwf/glmnet-python', license='GPL2', requires=['NumPy (>= 1.3)'], **config_dict)