Skip to content
Snippets Groups Projects
Commit 2f52859f authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[cyvlfeat] is required by menpo

parent 3ece993b
Branches
Tags
1 merge request!418Python 3.7 baseline
"%PYTHON%" setup.py install --single-version-externally-managed --record=%TEMP%record.txt
if errorlevel 1 exit 1
#!/bin/sh
if [ "$(uname)" == "Linux" ]; then
CFLAGS="${CFLAGS} -I${CONDA_PREFIX}/include" LDFLAGS="-L${CONDA_PREFIX}/lib -lvl -Wl,-rpath=${CONDA_PREFIX}/lib "
else
CFLAGS="${CFLAGS} -I${CONDA_PREFIX}/include" LDFLAGS="-L${CONDA_PREFIX}/lib -lvl "
fi
"$PYTHON" setup.py install --single-version-externally-managed --record=record.txt
if [ "$(uname -s)" == "Darwin" ]; then
# For some reason Cython refuses to generate @rpath/vlfeat.dylib - so
# we manually do it here
find $SP_DIR/cyvlfeat -name "*.so" -print0 | while read -d $'\0' file
do
install_name_tool -change @loader_path/libvl.dylib @rpath/libvl.dylib $file
done
fi
This diff is collapsed.
{% set name = "cyvlfeat" %}
{% set version = "0.5.1" %}
{% set sha256 = "816d0609c5f5a1b4e4a620a9cb204abe26c8cd6a166d077923242f6cf15c2c09" %}
package:
name: {{ name }}
version: {{ version }}
source:
fn: {{ name }}-v{{ version }}.tar.gz
url: https://github.com/menpo/cyvlfeat/archive/v{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 4
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- python
- setuptools {{ setuptools }}
- cython {{ cython }}
- numpy {{ numpy }}
- vlfeat {{ vlfeat }}
# - msinttypes r26 # [win]
run:
- python
- {{ pin_compatible('numpy') }}
test:
requires:
- nose
- pytest
- coverage
imports:
- cyvlfeat.sift.sift
- cyvlfeat.sift.dsift
- cyvlfeat.fisher.fisher
- cyvlfeat.hog.hog
- cyvlfeat.kmeans.kmeans
- cyvlfeat.generic.generic
commands:
- nosetests {{ name }} -v --cover-package={{ name }}
- conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx]
about:
home: https://github.com/menpo/cyvlfeat/
summary: A thin Cython wrapper around select areas of vlfeat
license: BSD
extra:
recipe-maintainers:
- anjos
conda/dlib conda/dlib
conda/cyvlfeat
conda/menpo conda/menpo
conda/ipdb conda/ipdb
conda/mne conda/mne
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment