[Zope] Subfolders of Extensions folder

2005-04-15 Thread Vital Lobachevsky
Hi, all!
Can I use the folders in Zope's Extensions folder to keep the External 
Methods in more logical way?

--
-tick
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Subfolders of Extensions folder

2005-04-15 Thread Jens Vagelpohl
On Apr 15, 2005, at 12:40, Vital Lobachevsky wrote:
Hi, all!
Can I use the folders in Zope's Extensions folder to keep the 
External Methods in more logical way?
No, I think they all need to be at the toplevel directory.
If you have too many external methods you should be writing a Python 
Zope product to store that logic.

jens
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Subfolders of Extensions folder

2005-04-15 Thread Tino Wildenhain
Am Freitag, den 15.04.2005, 13:40 +0300 schrieb Vital Lobachevsky:
 Hi, all!
 
 Can I use the folders in Zope's Extensions folder to keep the External 
 Methods in more logical way?

iirc you can just create a directory
in Products and put your methods there.
You can then import it from here.

try with or without __init__.py in that
directory (can be empty)

and Products.yourproduct.yourmodule

as module name.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )