philiKON – a journal

Philipp on software and other interesting things

Disable ZCML configuration of 3rd party packages with z3c.unconfigure

with one comment

From my mailinglist post:

When relying on a third-party package with ZCML configuration, it is sometimes desirable to disable certain directives, for instance when the third-party package defines an event subscriber that you’d like to disable. This is now possible with z3c.unconfigure.

While zope.configuration (the package that implements ZCML) itself supports overriding existing configuration and the zc.configuration package supports excluding whole ZCML files from being loaded, z3c.unconfigure allows you to disable specific directives.

More information is available at http://pypi.python.org/pypi/z3c.unconfigure.

Written by philikon

August 8, 2008 at 1:23 pm

Posted in Zope

One Response

Subscribe to comments with RSS.

  1. Bravo, Philipp – this was sorely needed!

    Martin

    Martin Aspeli

    August 11, 2008 at 9:54 pm


Leave a Reply