civisanalytics / python-glmnet

A python port of the glmnet package for fitting generalized linear models via penalized maximum likelihood.
Other
262 stars 59 forks source link

ENH: add conda recipe #4

Closed wlattner closed 7 years ago

wlattner commented 8 years ago

f2py projects need to extend LDFLAGS in build.sh otherwise, the package will not build successfully. See https://github.com/numpy/numpy/issues/7427.

mheilman commented 8 years ago

I think it's probably worth adding a comment in the README about how to build the conda package, though I suppose that's only necessary for maintainers.

mheilman commented 8 years ago

conda build conda.recipe --numpy 1.11 and then conda install glmnet -c file://path/to/conda-bld/ seems to work just fine.

Is conda.recipe a typical place to put a recipe for a package?

dan-blanchard commented 8 years ago

I'd suggest contributing the recipe directly to conda-forge, so packages get built automatically for all platforms and this will end up in the conda-forge channel.

jseabold commented 7 years ago

Opened a PR for this

https://github.com/conda-forge/staged-recipes/pull/3224

jseabold commented 7 years ago

Still not sure about windows for #5. There's some start commits in that PR, but I'd need some time to read and figure out the conda windows fortran toolchain.

jseabold commented 7 years ago

This is on conda-forge now. Still needs a windows fortran hero.

https://github.com/conda-forge/staged-recipes/pull/3224 https://github.com/conda-forge/glmnet-feedstock