[Zope] Re: Subfolders of Extensions folder

2005-04-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tino Wildenhain wrote:
 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

I don't think the 'Products.' prefix should be there (at least, I never
use it for standard products' EMs).

Tres.
- --
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  Zope Dealers   http://www.zope.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCX9KvGqWXf00rNCgRAnc8AJ9QTseqTWO9hMwgOoyI18sJrOTG5QCgmEYa
qFfaGl/xE5nYiNFuodbVNVo=
=Wfx3
-END PGP SIGNATURE-
___
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] Re: Subfolders of Extensions folder

2005-04-15 Thread Tino Wildenhain
Am Freitag, den 15.04.2005, 10:41 -0400 schrieb Tres Seaver:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Tino Wildenhain wrote:
  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
 
 I don't think the 'Products.' prefix should be there (at least, I never
 use it for standard products' EMs).
 

Yes maybe. It was untested and to be fully explorated by
the reader :-)

Regards
Tino

___
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 )