-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Zope Developer’s Guide to Zope 4 #252
Comments
Well, during the Saltlabs sprint at least the following chapters got updated:
|
@jugmac00 Thank you very much. I added a checklist to the issue description. |
... for the upcoming Zope 4 release. cf #252
Zope 4 no longer ships with the ZServer. Instead, Zope interacts with a WSGI server. The description and the figure has been updated accordingly. cf #252 modified: docs/zdgbook/Figures/2-1.png modified: docs/zdgbook/ObjectPublishing.rst
Hello, I'm trying to convert Products.FSDump to Zope 4 and I was following the developers guide and examples in github. However, chapter 3 is not specific to Products and chapter 5 is not up to date. Currently I'm stuck with error "Products.FSDump setup command: Distribution contains no modules or packages for namespace package 'Products'", which I don't understand. More important, how can I develop a zope product and test it in Zope using buildout develop? |
@ghiodor I'm not sure what your starting point is for doing this migration. The release tarball has the correct package structure for a namespace package. |
@ghiodor Updating the documentation is a mammoth project - I am working on this like for 9+ months - both in my spare time and without having contributed to the underlying source code, so I am learning by documenting :-) And currently my spare time is almost non existing :-( Can't help you with the error message - maybe create a new ticket as here it could be easily overlooked? Or ask in the new discussion board over at the Plone forum: |
@ghiodor Zope no longer needs special things for "products": any subpackage of the namespace package |
@tseaver, I forked your repository and then git clone. I don't understand how to bring this package to zope 4 for development purposes (in the old times I would simply untar it in Products and change there). So, I was following chpt 2 (zdg) which has three folders (./poll, ./poll/pool.build, ./poll.main). I was trying to install fsdump in develop mode using buildout.cfg (which is not in your tarball although other Products have it in the root folder). |
So, I restarted following the zdg.2 to develop FSDump, added "src" and adapted its setup.py to include directory "src" (for what purpose? convention?). Anyway, with or without "src", I get the setuptools error:
My fork for FSDump is up to date, if one of you wants to have a look. I put there also buildout.cfg. I guess next is to read about python packaging . |
Could this discussion please be moved to a ticket in |
The forum just has been created as the merge of Plone and Zope foundation was announced only last month. The posts in the Zope subforum also gets shown on the start page, so I guess they will be read. |
The Zope Developer’s Guide at https://zope.readthedocs.io/en/latest/zdgbook/index.html has many references to Zope 2 and should be updated to work with Zope 4 on Python 3.
The text was updated successfully, but these errors were encountered: