[Zope3-Users] how to eggify a zopeproject?

Nando Quintana fquintana at codesyntax.com
Fri Jan 25 08:04:01 EST 2008


Hi all,

I have some questions about zopeproject... I've created a project with
zopeproject:
# easy_install -U setuptools
...
setuptools 0.6c7 is already the active version in easy-install.pth
...
# easy_install -U zopeproject
...
zopeproject 0.4.1 is already the active version in easy-install.pth
...
# zopeproject MyProjec



Then I've tried to eggify this zope project:

# cd MyProjec
# python setup.py sdist


The problem is that this action doesn't include the zcml files:

# tar --list -f dist/MyProject-0.1.tar.gz
MyProject-0.1/
MyProject-0.1/src/
MyProject-0.1/src/MyProject.egg-info/
MyProject-0.1/src/MyProject.egg-info/PKG-INFO
MyProject-0.1/src/MyProject.egg-info/SOURCES.txt
MyProject-0.1/src/MyProject.egg-info/dependency_links.txt
MyProject-0.1/src/MyProject.egg-info/entry_points.txt
MyProject-0.1/src/MyProject.egg-info/not-zip-safe
MyProject-0.1/src/MyProject.egg-info/paster_plugins.txt
MyProject-0.1/src/MyProject.egg-info/requires.txt
MyProject-0.1/src/MyProject.egg-info/top_level.txt
MyProject-0.1/src/myproject/
MyProject-0.1/src/myproject/__init__.py
MyProject-0.1/src/myproject/startup.py
MyProject-0.1/src/myproject/testing.py
MyProject-0.1/setup.py
MyProject-0.1/PKG-INFO
MyProject-0.1/setup.cfg



How should I modify the setup.py? Is there any "doc" about how to
distribute a lib created with zopeproject?

Then, if a user installs this egg, gets start script "myproject-ctl"
installed. Which is the list of thing he need to install?
create a zope instance? write a custom zdaemon.comf, deploy.ini,
zope.conf, site.zml?

Some general instructions would be very appreciated...

Thanks in advance,
Nando.

-- 
http://www.nandoquintana.com/contact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20080125/2bc1ec86/attachment.bin


More information about the Zope3-users mailing list