[Zope3-dev] Re: Site configuration UI (was New Software Space UI)
Tres Seaver
tseaver at zope.com
Tue Jan 11 12:44:08 EST 2005
Max M wrote:
> Paul Everitt wrote:
>
>> Jim Fulton wrote:
>
>> CMF provides a convention that packages should have an
>> Extensions/Install.py module with an install function. CMF packages
>> that observe this convention get listed in Plone Setup's add-on
>> management screen.
A slight correction: CMF's convention is that the Extensions
*directory* should have and 'Install.py' *script* containing an
'install' function; CMF expects the site manager to use this script to
create an ExternalMethod for installing the product into a CMF site.
E.g., see:
http://cvs.zope.org/CMF/CMFCalendar/INSTALL.txt?rev=HEAD
*Plone* has the convention that 'Extensions' should be a package, to
allow importing / introspecting the 'Install' *module* by Plone's
QuickInstaller.
> CMF tries to be too clever about this. If you define an insstall() and
> uninstall() method, CMF still runs it's own uninstall. So you are not in
> complete controlle of what happens.
>
> Eg. tools will be deleted. Even though you might not want this to happen.
This has to be a Plone-ism, as CMF doesn't have any 'uninstall' notions
at all.
Tres.
--
===============================================================
Tres Seaver tseaver at zope.com
Zope Corporation "Zope Dealers" http://www.zope.com
More information about the Zope3-dev
mailing list