[Zope3-Users] Multi platform dev environment

Edward Zwart ed.zwart at softserv.ca
Mon Jun 1 20:42:24 EDT 2009


On Sat, May 30, 2009 at 12:00 AM, Shailesh Kumar <shaileshk at gmail.com> wrote:
> Web component development with Zope 3 by Philipp von Weitershausen has been
> my best resource on zope 3 developement all these years. Find more about
> this book at : http://worldcookery.com/About

Thanks Shailesh, I'm reading this book now actually!  I'm following
along, and see where I was confused before.  I had inherited an
instance created with zopeproject
(http://pypi.python.org/pypi/zopeproject).  When I follow
Weitershausen, I use mkzopeinstance, and get the following directory
structure in the instance folder:

bin/
etc/
lib/
log/
var/

But running zopeproject produces:

.installed.cfg
apidoc.zcml
bin/
buildout.cfg
debug.ini
deploy.ini
develop-eggs/
log/
parts/
setup.py
site.zcml
src/
var/
zdaemon.conf
zope.conf

setup.py is a new config file, and site.zcml and zope.conf are in the
root directory now instead of etc.

Weitershausen deals with setup.py in the last chapter (of the 3rd
edition anyway) when talking about distribution, and he mentions a
layout similar to this.  But zopeproject seems to be "the way to get
started" not the way to distribute... so I'm confused again.

Can anyone explain the difference of these layouts/approaches to me?
Much appreciated!

e.


More information about the Zope3-users mailing list