Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

ENH: add conda recipe #4

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions conda.recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
"%PYTHON%" setup.py install
if errorlevel 1 exit 1
5 changes: 5 additions & 0 deletions conda.recipe/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# see https://github.com/numpy/numpy/issues/7427
LDFLAGS="$LDFLAGS -undefined dynamic_lookup -bundle"
$PYTHON setup.py install
29 changes: 29 additions & 0 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package:
name: glmnet
version: "1.0.0"

source:
fn: glmnet-1.0.0.tar.gz
url: https://files.pythonhosted.org/packages/38/53/89c9eb398f4686efef8be30251018f183715193e7635d859130fd39f0891/glmnet-1.0.0.tar.gz
md5: 4348ad6532b83c6e0477e96c7fbe87bb

requirements:
build:
- setuptools
- numpy x.x
- scikit-learn >=0.17.0
- scipy >=0.14.1

run:
- numpy x.x
- scikit-learn >=0.17.0
- scipy >=0.14.1

test:
imports:
- glmnet

about:
home: https://github.com/civisanalytics/python-glmnet
license: GNU General Public License v2 (GPLv2)
summary: 'Python wrapper for glmnet'