Package configuration
When creating a new package and you need to add a new dependency
- edit
profiles/default/metadata.xml
to add in a new dependency and increase version number - edit
configure.zcml
to add the upgrade step for the new version - edit
setup.py
in the top level of the package directory structure and add in the new package to theinstall_requires
list. - rerun buildout so that new dependency can be pulled down
- rerun instance and go to the Add-on Products section of Site Setup and run the upgrade
No comments:
Post a Comment