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

August 8, 2008

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.

One Response to “Disable ZCML configuration of 3rd party packages with z3c.unconfigure”


  1. Bravo, Philipp – this was sorely needed!

    Martin


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: