Conversation
Added Products.ZSQLMethods as a prerequisite. Added detailed instructions for a new installation of Zope 4.0 using virtualenv.
|
Will this work for Zope2 as well? |
|
Seems to be OK; tried the import with Zope2 v2.13.22 |
| $ ./bin/pip install git+https://github.com/zopefoundation/Products.ZSQLMethods.git | ||
| $ ./bin/pip install git+https://github.com/psycopg/ZPsycopgDA.git | ||
| $ cd lib/python2.7/site-packages/Products | ||
| $ ln -s /path/to/virtualenv/lib/python2.7/site-packages/ZPsycopgDA . |
There was a problem hiding this comment.
I expect these instructions to be useful for the current "zipped distribution"; however, we should "eggify" ZPsycopgDA as Products.ZPsycopgDA, and this would make the package installable the standard way (via pip or buildout), obsoleting the instructions.
Thus, my suggestion would be to merge this change to a new zipped branch, and go for the egg in a new eggified branch.
There was a problem hiding this comment.
@tobiasherp Are there obsolete instructions in the readme? About MR #7 I see that the url http://zope.readthedocs.io/en/latest/INSTALL-virtualenv.html is broken. can that MR be just closed?
|
@tobiasherp do you think it's a good idea to cherry-pick the changeset b50b8cc and drop MR #7? |
After installing Zope 4.0, I had some trouble getting ZPsycopgDA to work. These are the changes I made to get it to work.