Re: [Pydev-code] Zope instances with multiple products directiories
Brought to you by:
fabioz
|
From: Patrick S. <pad...@gm...> - 2007-09-18 20:35:25
|
Not sure if that was necessary. I use mulitple locations for my product code and specify them all in zope.conf: # Plone Products. products $DEV_HOME\plone\2.5.3\Products # External Products. products $DEV_HOME\external\Products # My Products. products $DEV_HOME\myproducts\Products I just make sure that: [1] every Products directory above has an __init__.py and the products I am interested in. For example, the external products structure would contain: $DEV_HOME\external\Products AddRemoveWidget Clouseau FCKeditor __init__.py Each of the AddRemoveWidget, Clouseau, FCKeditor directories would include __init__.py files as well as the files checked out from the Collective svn. [2] Each of the following would be included on the Python PATH: $DEV_HOME\plone\2.5.3 $DEV_HOME\external $DEV_HOME\myproducts NB: $DEV_HOME would be replaced by some path in all cases. |