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

[generic] went through the procedure for new packages (conda recipe, README, buildout)

parent 7fe914c7
Branches
Tags
No related merge requests found
include LICENSE README.rst bootstrap-buildout.py buildout.cfg develop.cfg version.txt include LICENSE README.rst buildout.cfg develop.cfg version.txt
.. vim: set fileencoding=utf-8 : .. vim: set fileencoding=utf-8 :
.. Thu 22 Dec 09:54:50 CET 2016 .. Tue 4 Sep 12:20:34 CEST 2018
.. image:: http://img.shields.io/badge/docs-stable-yellow.png .. image:: https://img.shields.io/badge/docs-stable-yellow.svg
:target: http://pythonhosted.org/bob.db.fargo/index.html :target: https://www.idiap.ch/software/bob/docs/bob/bob.db.fargo/stable/index.html
.. image:: http://img.shields.io/badge/docs-latest-orange.png .. image:: https://img.shields.io/badge/docs-latest-orange.svg
:target: https://www.idiap.ch/software/bob/docs/latest/bob/bob.db.fargo/master/index.html :target: https://www.idiap.ch/software/bob/docs/bob/bob.db.fargo/master/index.html
.. image:: https://gitlab.idiap.ch/bob/bob.db.fargo/badges/master/build.svg .. image:: https://gitlab.idiap.ch/bob/bob.db.fargo/badges/master/build.svg
:target: https://gitlab.idiap.ch/bob/bob.db.fargo/commits/master :target: https://gitlab.idiap.ch/bob/bob.db.fargo/commits/master
.. image:: https://gitlab.idiap.ch/bob/bob.db.fargo/badges/master/coverage.svg
:target: https://gitlab.idiap.ch/bob/bob.db.fargo/commits/master
.. image:: https://img.shields.io/badge/gitlab-project-0000c0.svg .. image:: https://img.shields.io/badge/gitlab-project-0000c0.svg
:target: https://gitlab.idiap.ch/bob/bob.db.fargo :target: https://gitlab.idiap.ch/bob/bob.db.fargo
.. image:: http://img.shields.io/pypi/v/bob.db.fargo.png .. image:: https://img.shields.io/pypi/v/bob.db.fargo.svg
:target: https://pypi.python.org/pypi/bob.db.fargo
.. image:: http://img.shields.io/pypi/dm/bob.db.fargo.png
:target: https://pypi.python.org/pypi/bob.db.fargo :target: https://pypi.python.org/pypi/bob.db.fargo
================================== =================================
FARGO Database Access API for Bob FARGO Database Access API for Bob
================================== =================================
This package is part of the signal-processing and machine learning toolbox This package is part of the signal-processing and machine learning toolbox
Bob_. It contains an interface for the evaluation protocols of the FARGO Bob_. It contains an interface for the evaluation protocols of the `FARGO <https://www.idiap.ch/dataset/fargo>`_ Database.
Database. Notice this package does not contain the raw data files from this Notice this package does not contain the raw data files from this dataset, which need to be obtained through the link above.
dataset.
Installation Installation
------------ ------------
Follow our `installation`_ instructions. Then, using the Python interpreter Complete Bob's `installation`_ instructions. Then, to install this package,
provided by the distribution, bootstrap and buildout this package:: run::
$ python bootstrap-buildout.py $ conda install bob.db.fargo
$ ./bin/buildout
Contact Contact
......
{% set name = 'bob.db.fargo' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}
package:
name: {{ name }}
version: {{ environ.get('BOB_PACKAGE_VERSION', '0.0.1') }}
build:
<ENTRY_POINTS>
entry_points:
- extract_images_frontal.py = bob.db.fargo.scripts.extract_images_frontal:main
- extract_eyes_center.py = bob.db.fargo.scripts.extract_eyes_center: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 }}
- bob.extension
- bob.io.base
- bob.io.image
- bob.io.video
- bob.bio.base
- bob.bio.face
- bob.ip.facedetect
- bob.ip.color
- bob.ip.draw
- bob.db.base
- docopt
- numpy
- json
setuptools
run:
- python
- setuptools
- numpy
- json
- docopt
- gridtk
- matplotlib
- opencv
test:
imports:
- {{ name }}
commands:
- bob_db_fargo_extract_images_frontal.py --help
- bob_db_fargo_extract_eyes_center.py --help
- 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/
summary: Bob Database interface for the FARGO database
license: BSD
license_family: BSD
; vim: set fileencoding=utf-8 :
; Guillaume Heusch <guillaume.heusch@idiap.ch>
; Tue Jan 3 10:20:14 CEST 2017
[buildout]
parts = scripts
eggs = bob.db.fargo
extensions = bob.buildout
mr.developer
auto-checkout = *
develop = src/bob.io.base
src/bob.io.image
src/bob.db.base
src/bob.bio.base
src/bob.bio.face
.
; options for bob.buildout extension
debug = false
verbose = true
newest = false
[sources]
bob.io.base = git https://gitlab.idiap.ch/bob/bob.io.base
bob.io.image = git https://gitlab.idiap.ch/bob/bob.io.image
bob.db.base = git https://gitlab.idiap.ch/bob/bob.db.base
bob.bio.base = git https://gitlab.idiap.ch/bob/bob.bio.base
bob.bio.face = git https://gitlab.idiap.ch/bob/bob.bio.face
[scripts]
recipe = bob.buildout:scripts
dependent-scripts=true
...@@ -25,16 +25,10 @@ extensions = [ ...@@ -25,16 +25,10 @@ extensions = [
'sphinx.ext.intersphinx', 'sphinx.ext.intersphinx',
'sphinx.ext.napoleon', 'sphinx.ext.napoleon',
'sphinx.ext.viewcode', 'sphinx.ext.viewcode',
'sphinx.ext.mathjax',
#'matplotlib.sphinxext.plot_directive' #'matplotlib.sphinxext.plot_directive'
] ]
import sphinx
if sphinx.__version__ >= "1.4.1":
extensions.append('sphinx.ext.imgmath')
imgmath_image_format = 'svg'
else:
extensions.append('sphinx.ext.pngmath')
# Be picky about warnings # Be picky about warnings
nitpicky = True nitpicky = True
...@@ -232,7 +226,6 @@ autodoc_member_order = 'bysource' ...@@ -232,7 +226,6 @@ autodoc_member_order = 'bysource'
autodoc_default_flags = [ autodoc_default_flags = [
'members', 'members',
'undoc-members', 'undoc-members',
'inherited-members',
'show-inheritance', 'show-inheritance',
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment