meta.yaml 1.65 KB
Newer Older
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira 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
{% set name = 'bob.paper.tifs2018_dsu' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}

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

build:
  skip: true  # [not linux]
  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.bio.htface
    - bob.bio.face_ongoing
    - bob.db.cuhk_cufs
    - bob.db.cuhk_cufsf
    - bob.db.pola_thermal
    - bob.db.nivl
    - bob.db.cbsr_nir_vis_2
32
    - gridtk
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
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 60 61 62 63 64 65 66
  run:
    - python
    - setuptools
    - matplotlib
    - six
    - wheel
    - tensorflow
    - numpy
      
test:
  imports:
    - {{ name }}
  commands:
    - bob bio htface --help
    - bob bio face_ongoing --help
    - nosetests --with-coverage --cover-package=bob.bio.htface -sv bob.bio.htface
    - 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
    - gridtk

about:
  home: https://www.idiap.ch/software/bob/
  license: BSD License
  summary: Tools to reproduce the experiments of the Ph.D. thesis from Tiago de Freitas Pereira
  license_family: BSD