Newer
Older
{% set name = 'beat.editor' %}
{% 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:
{% if environ.get('BUILD_EGG') %}
- python setup.py sdist --formats=zip
{% endif %}
- "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv"
- python {{ python }}
- setuptools {{ setuptools }}
run:
- python
- setuptools
- jinja2
- pyqt
- click
- click-plugins
test:
requires:
- bob-devel {{ bob_devel }}.*
- beat-devel {{ beat_devel }}.*
- bob.extension
- pytest-qt
- pytest-cov
- coverage
- sphinx
- sphinx_rtd_theme
imports:
- {{ name }}
commands:
- beat editor --help
- beat editor start --help
- pytest --cov={{ name }} -v {{ project_dir }}/
- 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]
about:
home: https://www.idiap.ch/software/beat/
license: AGPLv3
summary: Local editor for BEAT objects
license_family: AGPL