-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zope buildouts usually contain a part 'zopepy' generating
a Python interpreter under bin:

[zopepy]
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
extra-paths = ${zope2:location}/lib/python
scripts = zopepy


- -aj

On 03.02.2009 11:34 Uhr, Teemu Harju wrote:
> Hi all,
> 
> 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. ;-)
> 
> 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.
> 
> Here's my very simple buildout.cfg:
> ---
> [buildout]
> parts = twisted
> 
> [twisted]
> recipe = minitage.recipe:du
> url = http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-8.2.0.tar.bz2
> ---
> 
> 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.
> 
> 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,
> 
> - Teemu
> 
> -- 
> Teemu Harju
> 
> email/jabber: [email protected] <mailto:[email protected]>
> blog: http://blog.teemu.im
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Distutils-SIG maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/distutils-sig


- -- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [email protected] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkmIH94ACgkQCJIWIbr9KYwZdQCg2jNDgHKk1L5qDgc6iXe9pGep
M1EAoLDyrCrofMedpQecm2RLUrsO1ccC
=Nbhh
-----END PGP SIGNATURE-----
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to