Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.io.video
Commits
2ffefd0c
Commit
2ffefd0c
authored
May 16, 2014
by
André Anjos
💬
Browse files
Fixes before first push to github/travis/coveralls
parent
22a8babd
Changes
3
Hide whitespace changes
Inline
Side-by-side
.travis.yml
0 → 100644
View file @
2ffefd0c
# After changing this file, run it through http://lint.travis-ci.org/
# Generates 4 builds, the ones for python3 will install external wheels
language
:
python
python
:
-
2.6
-
2.7
matrix
:
include
:
-
python
:
3.2
env
:
-
NUMPYSPEC===1.7.1
-
python
:
3.3
env
:
-
NUMPYSPEC===1.8.0
before_install
:
-
sudo add-apt-repository -y ppa:biometrics/bob
-
sudo add-apt-repository -y ppa:biometrics/bob.preview
-
sudo apt-get update -qq
-
sudo apt-get install -qq --force-yes bob-dev libmatio-dev
-
if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
-
if [ -n "${NUMPYSPEC}" ]; then pip install --upgrade pip setuptools; fi
-
if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC sphinx nose; fi
-
pip install cpp-coveralls
install
:
-
"
python
bootstrap.py"
-
"
CFLAGS=-coverage
./bin/buildout"
script
:
-
"
./bin/python
-c
'from
xbob.io.matlab
import
get_config;
print(get_config())'"
-
"
./bin/coverage
run
--source=xbob.io.matlab
./bin/nosetests
-sv"
-
"
./bin/sphinx-build
-b
doctest
doc
sphinx"
-
"
./bin/sphinx-build
-b
html
doc
sphinx"
after_success
:
-
"
coveralls
--build-root=`pwd`
--exclude=src"
README.rst
View file @
2ffefd0c
...
...
@@ -26,6 +26,46 @@ Installation
Install it through normal means, via PyPI or use ``zc.buildout`` to bootstrap
the package and run test units.
External Library Requirements
=============================
To properly install this package, you will need the following C/C++ components
pre-installed:
1. ``bob-io >= 2.0.0a2``
2. ``libavformat >= 52.31.0``
3. ``libavcodec >= 52.20.0``
4. ``libavutil >= 49.15.0``
5. ``libswscale >= 0.7.1``
.. note::
``libavformat``, ``libavcodec``, ``libavutil`` and ``libswscale`` are
components which are part of `FFmpeg`_ or `libav`_. We support any of these
two.
The minimum version for `FFmpeg`_ is ``0.5``, while the minimum version for
`libav`_ should be ``0.8``.
To test for the availability of the libraries listed above, use the command
``pkg-config``. For example::
$ pkg-config --modversion libavformat
55.33.100
$ pkg-config --modversion bob-io
2.0.0a3
If any of the components is not installed on paths accessible by
``pkg-config``, you have two options:
1. Set the environment variable ``PKG_CONFIG_PATH`` so that ``.pc`` files for
each of those distributions can be properly located (see ``man pkg-config``
for details);
2. If you are using ``zc.buildout`` to setup your working environment, you can
use the buildout variable ``prefixes`` to define the path to the
installation area for your external packages.
Documentation
-------------
...
...
@@ -86,3 +126,7 @@ configuration found on the root of the package::
Tweak the options in ``buildout.cfg`` to disable/enable verbosity and debug
builds.
.. Place here references to all citations in lower case
.. _ffmpeg: http://ffmpeg.org
.. _libav: http://libav.org
buildout.cfg
View file @
2ffefd0c
...
...
@@ -22,7 +22,7 @@ prefixes = /idiap/group/torch5spro/nightlies/last/bob/linux-x86_64-release
[sources]
xbob.extension = git https://github.com/bioidiap/xbob.extension branch=prototype
xbob.blitz = git https://github.com/bioidiap/xbob.blitz
xbob.io.base =
fs
xbob.io.base
xbob.io.base =
git https://github.com/bioidiap/
xbob.io.base
[scripts]
recipe = xbob.buildout:scripts
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment