5 May
2004
5 May
'04
7:10 p.m.
John Ziniti wrote at 2004-5-4 15:45 -0400:
... The article you referenced is discussing the creation of a Zope Product, which are Python packages and reside under ${ZOPE_HOME}/Products/. You are trying to create an External Method, which is a function inside a Python module, and resides in ${ZOPE_HOME}/Extensions. AFAIK, External Methods can only be modules, not a module ("install.py") inside a subdirectory ("MyArticle") as you are attempting.
A side note: External Methods can (and should) be associated with products. Such External Methods live in "Products/<the product>/Extensions", the "module" spec has the from "<the product>.<the file>". -- Dieter