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

David Zejda dvid at atlas.cz
Sat Mar 7 17:21:03 EST 2009


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

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJsvNP3oCkkciamVERAgNkAJ47T0+XeXwPTEINNHbFfIMVlWfKJgCgh6CS
7xxUW25bnAgBTpD7TeRSmno=
=uENF
-----END PGP SIGNATURE-----


More information about the Zope mailing list