Hi all,<br><br>I've been looking into zc.buildout since it seems to be quite useful application when developing and distributing Python applications. However, I'm finding it difficult to figure out how it should actually be used. I give you an example of what I'm trying to do and what my problem is. This is probably really trivial but bear with me. ;-)<br>
<br>I'm developing a Twisted application and would like to use zc.buildout for bootstrapping development environments and probably even deploying the application to the production system.<br clear="all"><br>Here's my very simple buildout.cfg:<br>
---<br>[buildout]<br>parts = twisted<br><br>[twisted]<br>recipe = minitage.recipe:du<br>url = <a href="http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-8.2.0.tar.bz2">http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-8.2.0.tar.bz2</a><br>
---<br><br>This works fine and installs Twisted under parts/site-packages-2.5/ and twistd, trial and other scripts under bin/. I'm doing all this inside virtualenv, but I guess it shouldn't matter.<br><br>Now, my problem is that since the packages are installed in parts/ so they are not visible to my python interpreter. What is the right way to do this? Should I just add /parts/site-packages-2.5 to my PYTHONPATH or? Is there some way to do that using buildout.cfg? I tried to find examples of this but didn't find any.<br>
<br>Br,<br><br>- Teemu<br><br>-- <br>Teemu Harju<br><br>email/jabber: <a href="mailto:teemu.harju@gmail.com">teemu.harju@gmail.com</a><br>blog: <a href="http://blog.teemu.im">http://blog.teemu.im</a><br><br>