meta.yaml 1.56 KB
Newer Older
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
{% set name = 'beat.core' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}

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

build:
  entry_points:
    - worker = beat.core.scripts.worker:main
  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 }}
  run:
    - python
    - setuptools
André Anjos's avatar
André Anjos committed
28
    - docker-py
29
    - docopt
André Anjos's avatar
André Anjos committed
30
    - python-graphviz
31 32 33 34 35 36
    - jsonschema
    - numpy
    - pip
    - pyzmq
    - simplejson
    - six
37
    - beat.backend.python >=1.6.0a0
38
    - matplotlib
André Anjos's avatar
André Anjos committed
39
    - pillow
40 41 42

test:
  requires:
43
    - bob-devel {{ bob_devel }}.*
44 45 46 47 48 49 50 51 52 53 54
    - beat-devel {{ beat_devel }}.*
    - bob.extension
    - nose
    - coverage
    - sphinx
    - sphinx_rtd_theme

  imports:
    - {{ name }}

  commands:
55
    - worker --help
56 57 58
    - 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
59 60 61 62 63 64
    - conda inspect linkages -p $PREFIX {{ name }}  # [not win]
    - conda inspect objects -p $PREFIX {{ name }}  # [osx]

about:
  home: https://www.idiap.ch/software/beat/
  license: AGPLv3
André Anjos's avatar
André Anjos committed
65
  summary: Core modules and definitions for the BEAT platform
66
  license_family: AGPL