Skip to content
Snippets Groups Projects
Commit 89e3dd5e authored by Guillaume HEUSCH's avatar Guillaume HEUSCH
Browse files

added conda recipe

parent 87850649
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -16,3 +16,4 @@ log* ...@@ -16,3 +16,4 @@ log*
results* results*
*.png *.png
drgan-* drgan-*
record.txt
{% set name = 'bob.ip.pytorch_extractor' %}
{% 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:
host:
- python {{ python }}
- setuptools {{ setuptools }}
- numpy {{ numpy }}
- docopt {{ docopt }}
- bob.extension
run:
- python
- setuptools
- docopt {{ docopt }}
- torch = 0.2.0
- torchvision = 0.1.9
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
about:
home: https://www.idiap.ch/software/bob/
license: BSD License
summary: Bob interface for feature extraction using PyTorch
license_family: BSD
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment