Configuration
Dependencies
Working from the sample: buildout.cfg file, to add a dependency, edit
setup.py
and add (for example), sqlalchemy
:
install_requires=['pyephem', 'sqlalchemy'],
Source
How can I develop against another package’s source code, before it gets packaged up as an egg?
Working from the sample: buildout.cfg file:
To use the source code of a package:
Checkout the source code into the current folder e.g.
sqlalchemy
.Add the dependency as normal (see Dependencies above).
Add the module name (folder) to the
develop
line in thebuildout.cfg
file:[buildout] develop = . sqlalchemy
Note: The
.
in thedevelop
property, tells buildout to use thesetup.py
file in the local folder.
Version
To use a different version of python, just execute bootstrap.py
with a
specific version e.g:
python2.4 bootstrap.py