Skip to content
Snippets Groups Projects
Commit 1e00e506 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Package all build instructions into buildout.cfg

parent 761b67bd
No related branches found
No related tags found
No related merge requests found
...@@ -45,15 +45,10 @@ Just type:: ...@@ -45,15 +45,10 @@ Just type::
$ python bootstrap.py $ python bootstrap.py
$ ./bin/buildout $ ./bin/buildout
If Bob is installed in a non-standard location, remember to use the **same If Bob is installed in a non-standard location, edit the file ``buildout.cfg``
python interpreter** that was used to compile Bob (replace ``<bob-root>`` with to set the root to Bob's local installation path. Remember to use the **same
the root of your local installation of Bob):: python interpreter** that was used to compile Bob, then execute the same steps
as above.
$ <bob-root>/bin/python bootstrap.py
$ PKG_CONFIG_PATH=<bob-root>/lib/pkgconfig ./bin/buildout
The `PKG_CONFIG_PATH` variable will help ``buildout`` find the correct include
and link paths to your non-stock Bob installation.
Usage Usage
----- -----
......
...@@ -3,19 +3,22 @@ ...@@ -3,19 +3,22 @@
; Mon 16 Apr 08:29:18 2012 CEST ; Mon 16 Apr 08:29:18 2012 CEST
[buildout] [buildout]
parts = environment external tests python parts = env flandmark external tests python
develop = .
eggs = bob eggs = bob
flandmark flandmark
newest = false newest = false
; Path to Bob's root - No need setting this if Bob is installed centrally ; Path to Bob's root - No need setting this if Bob is installed centrally
bob = /idiap/group/torch5spro/nightlies/last/install/install/linux-x86_64-release bob = /idiap/group/torch5spro/nightlies/last/install/linux-x86_64-release
[environment] [env]
recipe = collective.recipe.environment recipe = collective.recipe.environment
PKG_CONFIG_PATH = ${buildout:bob}/lib/pkgconfig PKG_CONFIG_PATH = ${buildout:bob}/lib/pkgconfig
[flandmark]
recipe = zc.recipe.egg:develop
setup = .
[external] [external]
recipe = xbob.buildout:external recipe = xbob.buildout:external
egg-directories = ${buildout:bob}/lib egg-directories = ${buildout:bob}/lib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment