koehsel.policy.egg-info/requires.txt
koehsel.policy.egg-info/top_level.txt
koehsel/policy/__init__.py
+koehsel/policy/setuphandlers.py
koehsel/policy/tests.py
\ No newline at end of file
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
+ xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
i18n_domain="koehsel.policy">
<five:registerPackage package="." initialize=".initialize" />
+ <genericsetup:registerProfile
+ name="default"
+ title="Koehsel Site"
+ directory="profiles/default"
+ description='Extension profile for the Koehsel Site.'
+ provides="Products.GenericSetup.interfaces.EXTENSION"
+ />
+
+ <genericsetup:importStep
+ name="koehsel.policy.various"
+ title="Koehsel Theme: miscellaneous import steps"
+ description="Various import steps that are not handled by GS import/export handlers."
+ handler="koehsel.policy.setuphandlers.setupVarious">
+ </genericsetup:importStep>
+
</configure>
--- /dev/null
+def setupVarious(context):
+
+ # Ordinarily, GenericSetup handlers check for the existence of XML files.
+ # Here, we are not parsing an XML file, but we use this text file as a
+ # flag to check that we actually meant for this import step to be run.
+ # The file is found in profiles/default.
+
+ if context.readDataFile('koehsel.theme_various.txt') is None:
+ return
+
+ # Add additional setup code here