meta.yaml 2 KB
Newer Older
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
{% set name = 'bob.pad.face' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}

package:
  name: {{ name }}
  version: {{ environ.get('BOB_PACKAGE_VERSION', '0.0.1') }}

build:
  number: {{ environ.get('BOB_BUILD_NUMBER', 0) }}
  run_exports:
    - {{ pin_subpackage(name) }}
  script:
    - cd {{ project_dir }}
    {% if environ.get('BUILD_EGG') %}
    - python setup.py sdist --formats=zip
    {% endif %}
    - python setup.py install --single-version-externally-managed --record record.txt

requirements:
  host:
    - python {{ python }}
    - setuptools {{ setuptools }}
    - six {{ six }}
24
    - numpy
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
25 26 27 28 29 30 31 32 33 34 35
    - bob.extension
    - bob.bio.base
    - bob.io.base
    - bob.ip.base
    - bob.pad.base
    - bob.bio.face
    - bob.bio.video
    - bob.io.image
    - bob.ip.color
    - bob.ip.qualitymeasure
    - bob.learn.libsvm
36
    - bob.rppg.base >=2.0.0
37 38
    - bob.ip.dlib
    - bob.ip.facelandmarks
39 40 41
    - opencv
    - scikit-learn
    - scikit-image
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
42 43 44 45
  run:
    - python
    - setuptools
    - six
46 47 48
    - {{ pin_compatible('numpy') }}
    - {{ pin_compatible('scikit-learn') }}
    - {{ pin_compatible('scikit-image') }}
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
49
    - {{ pin_compatible('opencv') }}
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65

test:
  imports:
    - {{ name }}
  commands:
    - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
    - sphinx-build -aEW {{ project_dir }}/doc {{ project_dir }}/sphinx
    - sphinx-build -aEb doctest {{ project_dir }}/doc sphinx
    - conda inspect linkages -p $PREFIX {{ name }}  # [not win]
    - conda inspect objects -p $PREFIX {{ name }}  # [osx]
  requires:
    - bob-devel {{ bob_devel }}.*
    - nose
    - coverage
    - sphinx
    - sphinx_rtd_theme
Pavel KORSHUNOV's avatar
Pavel KORSHUNOV committed
66
    - gridtk
67
    - bob.db.replay
68 69
    - bob.db.replaymobile
    - bob.db.msu_mfsd_mod
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
70
    - bob.db.casia_fasd
71
    - bob.db.mobio
72 73
    - bob.db.maskattack
    - bob.db.casiasurf
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
74 75 76 77 78 79

about:
  home: https://www.idiap.ch/software/bob/
  license: GNU General Public License v3 (GPLv3)
  summary: Implements tools for spoofing or presentation attack detection in face biometrics
  license_family: GPL