Instead of doing what loading zope.conf does (which is different across zope versions), use the ZConfig configuration callback.