meta.yaml 2.54 KB
Newer Older
André Anjos's avatar
André Anjos committed
1
2
3
4
5
6
7
8
9
{% set name = 'beat.cmdline' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}

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

build:
  entry_points:
10
    - beat = beat.cmdline.scripts.main_cli:main
11
12
13
14
15
16
17
18
19
20
21
    - config = beat.cmdline.config:config
    - status = beat.cmdline.status:status
    - cache = beat.cmdline.cache:cache
    - databases = beat.cmdline.databases:databases
    - dataformats = beat.cmdline.dataformats:dataformats
    - libraries = beat.cmdline.libraries:libraries
    - algorithms = beat.cmdline.algorithms:algorithms
    - plotters = beat.cmdline.plotters:plotters
    - plotterparameters = beat.cmdline.plotterparameters:plotterparameters
    - toolchains = beat.cmdline.toolchains:toolchains
    - experiments = beat.cmdline.experiments:experiments
André Anjos's avatar
André Anjos committed
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  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
    - beat.backend.python
    - beat.core
41
42
    - termcolor
    - oset
André Anjos's avatar
André Anjos committed
43
    - docopt
André Anjos's avatar
André Anjos committed
44
45
46
47
48

test:
  requires:
    - bob-devel {{ bob_devel }}.*
    - beat-devel {{ beat_devel }}.*
49
    - bob.extension
André Anjos's avatar
André Anjos committed
50
51
52
53
54
55
56
57
58
59
60
    - nose
    - coverage
    - sphinx
    - sphinx_rtd_theme
    - sphinxcontrib-programoutput

  imports:
    - {{ name }}

  commands:
    - worker --help
61
62
63
64
65
66
67
68
69
70
71
72
    - beat --help
    - beat config --help
    - beat status --help
    - beat cache --help
    - beat databases --help
    - beat dataformats --help
    - beat libraries --help
    - beat algorithms --help
    - beat plotters --help
    - beat plotterparameters --help
    - beat toolchains --help
    - beat experiments --help
André Anjos's avatar
André Anjos committed
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
    {% if environ.get('BEAT_DOCKER_TESTS', False)  %}
    - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }}
    {% else %}
    - nosetests --with-coverage --cover-package={{ name }} -sv {{ name }} --exclude=".*test_docker.*"
    {% endif %}
    - 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: Command-line client for the BEAT platform
  license_family: AGPL