Strategy for building bob packages
Created by: anjos
We currently have a strategy to handle the development of bob packages by using a special extension defined in this package.
If the user wants to install eggs though, using the "find-links" option, the situation is a bit more difficult to handle through buildout as eggs required for building a package (say, for example, "bob.core" requires "bob.blitz"), will not be fetched and installed prior to the installation of the package being compiled itself.
To remedy this, I propose we slightly modify the packages so that the package requirements are listed in a separate file called requirements.txt
. A recipe to do it with pip can be found here: http://stackoverflow.com/questions/14399534/how-can-i-reference-requirements-txt-for-the-install-requires-kwarg-in-setuptool
Our bob.buildout extension needs to be slightly modified. In case a file "requirements.txt" is found on a package, it is first parsed and the dependencies are installed prior to running the "setup.py" of the said package.