Skip to content

Commit

Permalink
fix conda recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevdp committed Mar 10, 2016
1 parent 5e3b366 commit e59cb71
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 7 additions & 0 deletions conda_recipes/megaman/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#!/bin/bash

# On OSX, we need to ensure we're using conda's gcc/g++
if [[ `uname` == Darwin ]]; then
export CC=gcc
export LD=gcc
export CXX=g++
fi

$PYTHON setup.py install
9 changes: 4 additions & 5 deletions conda_recipes/megaman/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
package:
name: megaman
version: "0.1.dev1"
version: 0.1.1

source:
git_url: https://github.com/mmp2/megaman.git
git_tag: 1ddd723f91b40b5309682d2f0e1c92e054085243
git_tag: v0.1.1

build:
number: 1

requirements:
build:
- python
- gcc [osx]
- cython
- numpy
- flann
- gcc [osx]
run:
- python
- numpy
- scipy
- scikit-learn
- flann
- pyamg
- pyflann
- pyamg # [py27]

test:
requires:
Expand Down

0 comments on commit e59cb71

Please sign in to comment.