meta.yaml 2.35 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{% set name = 'bob.bio.face' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}

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

build:
  entry_points:
  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 }}
    - bob.extension
    - bob.blitz
    - bob.core
    - bob.io.base
    - bob.io.image
    - bob.learn.activation
    - bob.math
    - bob.sp
    - bob.ip.base
    - bob.ip.color
    - bob.ip.gabor
    - bob.learn.linear
    - bob.learn.em
    - bob.measure
    - bob.db.base
    - bob.db.atnt
    - bob.bio.base
    - bob.ip.facedetect
42
    - bob.pipelines
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
43
    - matplotlib {{ matplotlib }}
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
44
    - scikit-image {{ scikit_image }}
45
    - six {{ six }}
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
46
    - tensorflow {{ tensorflow }}  # [linux]
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
47
48
49
  run:
    - python
    - setuptools
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
50
51
52
53
    - {{ pin_compatible('matplotlib') }}
    - {{ pin_compatible('six') }}
    - {{ pin_compatible('scikit-image') }}
  run_constrained:
54
    - bob.learn.tensorflow
55
    - {{ pin_compatible('tensorflow') }}  # [linux]
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
56
57
58
59
60

test:
  imports:
    - {{ name }}
  commands:
61
    - bob bio display-face-annotations --help
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
62
63
64
    # runs tests for package only, report only what is in the package
    # creates html and xml reports and place them in specific directories
    - pytest --verbose --cov {{ name }} --cov-report term-missing --cov-report html:{{ project_dir }}/sphinx/coverage --cov-report xml:{{ project_dir }}/coverage.xml --pyargs {{ name }}
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
65
66
67
68
69
70
    - 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 }}.*
71
    - nose
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
72
73
    - pytest
    - pytest-cov
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
74
75
76
    - coverage
    - sphinx
    - sphinx_rtd_theme
77
    - bob.db.atnt
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
78
79
    - bob.learn.tensorflow  # [linux]
    - tensorflow  # [linux]
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
80
81
82
83
84
85

about:
  home: https://www.idiap.ch/software/bob/
  license: BSD License
  summary: Tools for running face recognition experiments
  license_family: BSD