This is the PostgreSQL adapter for Zope 2 and 3 based on psycopg2.
As of version 2.4.6, ZPsycopgDA has the same content of the ZPsycopgDA module included in Psycopg 2.4.6. Future psycopg2 versions will likely not include ZPsycopgDA, which should be installed separately.
ZPsycopgDA depends on the psycopg2 module version at least 2.4. Don't use versions 2.4.2 or 2.4.3: they are not compatible with ZPsycopgDA. Install the latest version available.
Unfortunately I'm no Zope expert, so these installation instructions are quite approximative. Please contact us if you want to improve them.
- Make sure to have your Zope
lib
directory in the$PYTHONPATH
- Detailed Installation for Zope 4.0:
- $ ./bin/pip install git+https://github.com/gabrielgisoldo/ZPsycopgDA.git
- $ cd lib/python3.7/site-packages/Products
- $ ln -s /path/to/virtualenv/lib/python3.7/site-packages/ZPsycopgDA .