I am in the process of modifying framework.py to support INSTANCE_HOME 
installations of Zope. This involves

a) Honouring SOFTWARE_HOME when locating the Testing package
b) Adding the instance's Products and lib/python dirs to
   Products.__path__ and sys.path respectively

You can look at a preliminary draft version here:

I am however unclear about the __name__ == '__main__' test at the beginning 
of the first half of framework.py. Is this just some kind of (redundant?) 
safeguard, or is framework.py actually ment to be imported (in some cases 
at least), contradicting the comments? And, if the latter is true, what is 
the second half supposed to do (or to avoid) when framework.py is imported 
as a module?


BLOWFISH, n. - Preference for beef

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

Reply via email to