Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.ip.flandmark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.ip.flandmark
Commits
5fc87917
Commit
5fc87917
authored
10 years ago
by
Manuel Günther
Browse files
Options
Downloads
Patches
Plain Diff
Switched to new build system; removed dependency on bob.
parent
4c201f35
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+4
-9
4 additions, 9 deletions
.travis.yml
buildout.cfg
+3
-2
3 additions, 2 deletions
buildout.cfg
setup.py
+17
-13
17 additions, 13 deletions
setup.py
with
24 additions
and
24 deletions
.travis.yml
+
4
−
9
View file @
5fc87917
...
...
@@ -14,19 +14,14 @@ matrix:
-
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
-
sudo apt-get install -qq --force-yes libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev
libgif-dev
-
sudo apt-get install -qq --force-yes libboost-all-dev libblitz1-dev libhdf5-serial-dev
-
sudo apt-get install -qq --force-yes libjpeg8-dev libnetpbm10-dev libpng12-dev libtiff4-dev libgif-dev
-
sudo apt-get install -qq --force-yes python-opencv libcv-dev libcvaux-dev libopencv-dev
-
sudo apt-get install -qq --force-yes python-matplotlib
-
if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq --force-yes libatlas-dev
libatlas-base-dev liblapack-dev gfortran; fi
-
if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq --force-yes 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
matplotlib; 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 matplotlib; fi
-
pip install cpp-coveralls
install
:
-
python bootstrap.py
...
...
This diff is collapsed.
Click to expand it.
buildout.cfg
+
3
−
2
View file @
5fc87917
...
...
@@ -10,6 +10,7 @@ extensions = bob.buildout
auto-checkout
=
*
develop
=
src/bob.extension
src/bob.blitz
src/bob.core
src/bob.io.base
src/bob.io.image
src/bob.ip.color
...
...
@@ -19,13 +20,13 @@ develop = src/bob.extension
; options for bob.buildout extension
debug
=
true
verbose
=
true
prefixes
=
/idiap/group/torch5spro/releases/preview/install/linux-x86_64-release
/Users/andre/work/bob/b/dbg/
[sources]
bob.extension
=
git https://github.com/bioidiap/bob.extension
bob.blitz
=
git https://github.com/bioidiap/bob.blitz
bob.core
=
git https://github.com/bioidiap/bob.core
bob.io.base
=
git https://github.com/bioidiap/bob.io.base
; For test and documentation generation only:
bob.io.image
=
git https://github.com/bioidiap/bob.io.image
bob.ip.color
=
git https://github.com/bioidiap/bob.ip.color
bob.ip.draw
=
git https://github.com/bioidiap/bob.ip.draw
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
17
−
13
View file @
5fc87917
...
...
@@ -6,15 +6,16 @@
"""
Bindings for flandmark
"""
bob_packages
=
[
'
bob.core
'
,
'
bob.io.base
'
]
from
setuptools
import
setup
,
find_packages
,
dist
dist
.
Distribution
(
dict
(
setup_requires
=
[
'
bob.blitz
'
,
'
bob.io.base
'
]
))
dist
.
Distribution
(
dict
(
setup_requires
=
[
'
bob.blitz
'
]
+
bob_packages
))
from
bob.blitz.extension
import
Extension
import
bob.io.base
version
=
'
2.0.0a0
'
packages
=
[
'
boost
'
,
'
opencv>=2.0
'
,
'
bob-io>=1.2.2
'
]
include_dirs
=
[
bob
.
io
.
base
.
get_include
()]
packages
=
[
'
boost
'
,
'
opencv>=2.0
'
]
boost_modules
=
[
'
system
'
]
setup
(
...
...
@@ -34,6 +35,7 @@ setup(
install_requires
=
[
'
setuptools
'
,
'
bob.blitz
'
,
'
bob.core
'
,
'
bob.io.base
'
,
'
bob.io.image
'
,
#for tests
'
bob.ip.color
'
,
#for tests
...
...
@@ -44,30 +46,32 @@ setup(
namespace_packages
=
[
"
bob
"
,
"
bob.ip
"
,
],
],
ext_modules
=
[
Extension
(
"
bob.ip.flandmark.version
"
,
[
"
bob/ip/flandmark/version.cpp
"
,
],
include_dirs
=
include_dir
s
,
],
bob_packages
=
bob_package
s
,
version
=
version
,
packages
=
packages
,
),
boost_modules
=
boost_modules
,
),
Extension
(
"
bob.ip.flandmark._library
"
,
[
"
bob/ip/flandmark/flandmark_detector.cpp
"
,
"
bob/ip/flandmark/liblbp.cpp
"
,
"
bob/ip/flandmark/flandmark.cpp
"
,
"
bob/ip/flandmark/main.cpp
"
,
],
include_dirs
=
include_dir
s
,
],
bob_packages
=
bob_package
s
,
version
=
version
,
packages
=
packages
,
boost_modules
=
[
'
system
'
]
,
),
],
boost_modules
=
boost_modules
,
),
],
classifiers
=
[
'
Development Status :: 5 - Production/Stable
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment