Ok 2.7 has an instance/Products directory. What magic is letting them be imported? I'm running a bunch of data loader scripts that create persistent zope products. I have found that:

import Globals

sets things up so that my data loader scripts can import products properly (even though their path is not in sys.path). I looked around in Globals to figure out what's going on and didn't find it. It would be nice if something in:

import Zope.

would kick off the special import magic! It seems a lot more intuitive to have this at the top of the __main__ script instead of Globals.


Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to