Tuesday 30 August 2011

Package configuration

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

No comments: