It worked well for me.
I tested it in Plone 4.0.3
Created a package with pasteur:
paster create -t plone bogus.interface
With this interface.py file:
from zope.interface import Interface
class IBogusInterface(Interface):
""" Marker bogus interface
"""
And this configure.zcml file:
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:i18n="http://namespaces.zope.org/i18n"
i18n_domain="bogus.interface">
<five:registerPackage package="." initialize=".initialize" />
<interface interface=".interfaces.IBogusInterface" />
</configure>
Are you sure nothing is missing?
source
share