Skip to content
Snippets Groups Projects

Migrate to conda based CI

Merged Amir MOHAMMADI requested to merge condapackage into master
Files
6
conda/meta.yaml 0 → 100644
+ 67
0
{% set name = 'bob.learn.em' %}
{% 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:
- 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:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- pkg-config {{ pkg_config }}
- cmake {{ cmake }}
host:
- python {{ python }}
- setuptools {{ setuptools }}
- bob.extension
- bob.blitz
- bob.core >2.0.5
- bob.io.base
- bob.sp
- bob.math
- bob.learn.activation
- bob.learn.linear
- libblitz {{ libblitz }}
- boost {{ boost }}
- numpy {{ numpy }}
run:
- python
- setuptools
- boost
- {{ pin_compatible('numpy') }}
test:
imports:
- {{ name }}
commands:
- 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
- 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
- matplotlib
- bob.db.iris
about:
home: https://www.idiap.ch/software/bob/
license: BSD 3-Clause
summary: Bindings for emelaneous machines and trainers of Bob
license_family: BSD
Loading