re-compilation

15 views
Skip to first unread message

umtsahn

unread,
Mar 24, 2015, 8:34:17 AM3/24/15
to bob-...@googlegroups.com
Hi,

I have made small changes (e.g. simple printouts ..) in the cpp files (located under eggs/ directory).  I need a recompilation, buildout scripts did not work. How can I do that?


thanks in advance. 

Manuel Günther

unread,
Mar 24, 2015, 9:00:14 AM3/24/15
to bob-...@googlegroups.com
Hi,

changes in the eggs directory will not have any effect, and there is (AFAIK) no way to tell buildout to recompile the code.

However, you can locally check out the package (i.e. from GitHub) and make the modifications there. For that to work, you have to modify your buildout.cfg in the following way:

extensions = bob.buildout
             mr
.developer
auto-checkout = *

develop
= src/<package>
         
.

[sources]
<package> = git https://github.com/bioidiap/<package>

where ``package`` is the package that you want to modify the code off. Afterwards, running ``./bin/buildout`` should check out the package from GitHub into the ``src`` directory, where you can modify the code. Re-compilation is now possible by re-running ``./bin/buildout``.

I hope this helps
Manuel


Reply all
Reply to author
Forward
0 new messages