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.db.atnt
Commits
b103c1a0
Commit
b103c1a0
authored
May 22, 2015
by
Manuel Günther
Browse files
Put travis builds on wheels
parent
724da975
Changes
6
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
b103c1a0
...
...
@@ -7,27 +7,26 @@ matrix:
-
secure
:
IsIuB+1cKlkdqXxNmAGp/me3JrYcuTzrZVcP2x9XWsJR43AW7jlPet9fB1lsU6pzfymCww3eody+J4ZiTcKWjL91BLHLNbBcny6EdzwZzdt26sH7moF53WEe678bwcmrkBEDbbaTODPKJDKFNHWy2QjBd46KzFBsvUBMzPL8skA=
-
secure
:
RyfuwYiUnkICmUMqV/oV1X0rckwa3FHxwt2zCf/uDPzQitccXf64byZp+yh6Va1epIc4pLXZ4nI2UBg2P222Q7xjOciXJShQZAXANeajhIfoLdC/mM/TvwJLOqviFrSh2fJlnuj1/Rwya3yhW0fkDlwJjyoc7vrJthIy1wgRExo=
-
BOB_DOCUMENTATION_SERVER=https://www.idiap.ch/software/bob/docs/latest/bioidiap/%s/master
-
python
:
3.2
env
:
-
NUMPYSPEC===1.8.0
-
BOB_UPLOAD_WHEEL="--universal"
-
python
:
3.3
env
:
-
NUMPYSPEC===1.8.0
-
python
:
3.4
before_install
:
-
sudo add-apt-repository -y ppa:biometrics/bob
-
sudo apt-get update -qq
-
sudo apt-get install -qq --force-yes libboost-all-dev libblitz1-dev libhdf5-serial-dev libatlas-dev libatlas-base-dev liblapack-dev texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
-
if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq gfortran; fi
-
if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi
-
pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel sphinx nose==1.3.0 jinja2==2.6 coveralls pygments==1.6
-
pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel sphinx nose numpy coverage
-
pip install --find-links https://www.idiap.ch/software/bob/wheels/travis/ --use-wheel --pre -r requirements.txt coveralls
install
:
-
python bootstrap-buildout.py
-
./bin/buildout
-
./bin/buildout
buildout:develop=. buildout:extensions=bob.buildout buildout:auto-checkout=
script
:
-
./bin/python -c 'from bob.db.atnt import get_config; print(get_config())'
-
./bin/python -c '
import pkg_resources;
from bob.db.atnt import get_config; print(get_config())'
-
./bin/coverage run --source=bob.db.atnt ./bin/nosetests -sv
-
./bin/sphinx-build -b doctest doc sphinx
-
./bin/sphinx-build -b html doc sphinx
after_success
:
-
coveralls
-
./src/bob.extension/scripts/upload-sphinx.sh
-
wget https://raw.githubusercontent.com/bioidiap/bob.extension/master/scripts/upload-{sphinx,wheel}.sh
-
chmod a+x upload-sphinx.sh upload-wheel.sh
-
./upload-sphinx.sh
-
./upload-wheel.sh
MANIFEST.in
View file @
b103c1a0
include README.rst bootstrap-buildout.py version.txt
include README.rst bootstrap-buildout.py version.txt
requirements.txt
recursive-include doc *.py *.rst
bob/db/atnt/__init__.py
View file @
b103c1a0
...
...
@@ -27,21 +27,13 @@ http://www.cl.cam.ac.uk/research/dtg/attarchive/facedatabase.html
from
.models
import
File
,
Client
from
.query
import
Database
def
get_config
():
"""Returns a string containing the configuration information.
"""
import
bob.extension
return
bob
.
extension
.
get_config
(
__name__
)
import
pkg_resources
packages
=
pkg_resources
.
require
(
__name__
)
this
=
packages
[
0
]
deps
=
packages
[
1
:]
retval
=
"%s: %s (%s)
\n
"
%
(
this
.
key
,
this
.
version
,
this
.
location
)
retval
+=
" - python dependencies:
\n
"
for
d
in
deps
:
retval
+=
" - %s: %s (%s)
\n
"
%
(
d
.
key
,
d
.
version
,
d
.
location
)
return
retval
.
strip
()
# gets sphinx autodoc done right - don't remove it
__all__
=
[
_
for
_
in
dir
()
if
not
_
.
startswith
(
'_'
)]
requirements.txt
0 → 100644
View file @
b103c1a0
setuptools
bob.db.base
bob.db.verification.utils
setup.py
View file @
b103c1a0
...
...
@@ -2,7 +2,11 @@
# vim: set fileencoding=utf-8 :
# Manuel Guenther <manuel.guenther@idiap.ch>
from
setuptools
import
setup
,
find_packages
from
setuptools
import
setup
,
find_packages
,
dist
dist
.
Distribution
(
dict
(
setup_requires
=
[
'bob.extension'
]))
from
bob.extension.utils
import
load_requirements
install_requires
=
load_requirements
()
# Define package version
version
=
open
(
"version.txt"
).
read
().
rstrip
()
...
...
@@ -25,18 +29,14 @@ setup(
include_package_data
=
True
,
zip_safe
=
False
,
install_requires
=
[
'setuptools'
,
'bob.db.base'
,
'bob.db.verification.utils'
# defines a set of utilities for face verification databases like this one.
],
install_requires
=
install_requires
,
namespace_packages
=
[
'bob'
,
'bob.db'
,
],
entry_points
=
{
entry_points
=
{
# declare database to bob
'bob.db'
:
[
'atnt = bob.db.atnt.driver:Interface'
,
...
...
version.txt
View file @
b103c1a0
2.0.2b0
\ No newline at end of file
2.0.2b1
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