[Zope] trivial: hello world with filesystem based egg sources

Andreas Jung lists at zopyx.com
Sun Mar 8 01:48:03 EST 2009


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

Your question makes little sense. The term "egg sources" has nothing to
do how to develop something for Zope. In Zope land you either write a
Zope 2 Product (the traditional old way) or as a python package -
depending on your needs and use case. We don't write eggs - we write
packages and distribute them usually as source code distribution. An
*egg* is basically only an setuptools *deployment* format. So you don't
write eggs, you write proper Python packages.

- -aj

On 07.03.2009 23:21 Uhr, David Zejda wrote:
> Hello,
> 
> I try to develop something in the egg way, but still missing a point.
> 
> I have a nice, fresh chrooted env with python, zope, plone etc. For
> installation I used buildout. Zope works neatly.
> 
> In the home dir of chroot there is subdir of my project with subdirs
> like bin (scripts buildout, instance..), eggs, fake-eggs, products,
> src.. and in the root of project there is buildout.cfg.
> 
> I'd like to start with easiest possible piece of python code in the egg
> form (to be redistributable), which could be treated by zope.
> 
> I started with paster -t plone and answered a few questions. It created
> couple of dirs in src. I put the name of newly created directory to
> buildout.cfg sections [buildout]/eggs, [buildout]/develop,
> [instance]/zcml and rerun buildout.
> 
> The path_to_chroot/src/projectname seems to be listed in the Debug
> Information of Zope instance.
> 
> And now, please, what to do now, to have a few python lines somewhere in
> the egg dir, which the zope would know how to deal with? And on what url
> will be the "hello world" available then?
> 
> Thank you for a patience..
> With regards
> David
_______________________________________________
Zope maillist  -  Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

- -- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: info at zopyx.com - 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/

iEYEARECAAYFAkmzaiMACgkQCJIWIbr9KYyLAgCfSQmI54Tm8IzGcWsmD7qBmfGQ
EWsAoJErxADTP9uh2FqhvhXirki1Wqj3
=JcdG
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20090308/6d9a58c1/attachment.vcf 


More information about the Zope mailing list