meta.yaml 1.19 KB
Newer Older
1
{% set name = "cyvlfeat" %}
André Anjos's avatar
André Anjos committed
2
{% set version = "0.5.1" %}
André Anjos's avatar
André Anjos committed
3
{% set sha256 = "816d0609c5f5a1b4e4a620a9cb204abe26c8cd6a166d077923242f6cf15c2c09" %}
4 5 6 7 8 9 10 11 12 13 14

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:
André Anjos's avatar
André Anjos committed
15
  number: 0
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}

  host:
    - python
    - setuptools {{ setuptools }}
    - cython {{ cython }}
    - numpy {{ numpy }}
    - vlfeat {{ vlfeat }}

  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