[Zope-dev] egg issues: adding namespace boilerplate Products / patching testrunner

whit d.w.morriss at gmail.com
Fri Apr 13 11:43:06 EDT 2007

2 items:

1. how does everyone feel about adding the following boilerplate to all 
occurences of Products/__init__.py to enable the easy creation of 
Product eggs?


except ImportError:
     from pkgutil import extend_path
     __path__ = extend_path(__path__, __name__)

2. Could we consider this a defect so it could be added to relavent 
maintenance branches(provided no one sees any harm in #1. I mainly care 
about zope 2.9)

3. daniel nouri has made a patch for the test runner  to enable a flag 
optionally add all packages on your path to the test search path.  I 
consider this a defect in the current test runner that makes working 
with eggs and 2.9 or 2.10 rather cumbersome.  could we consider adding 
this or some other solution to this problem?




------ d. whit morriss ------
- senior engineer, opencore -
- http://www.openplans.org  -
- m: 415-710-8975           -

"If you don't know where you are,
  you don't know anything at all" 

Dr. Edgar Spencer, Ph.D., 1995

More information about the Zope-Dev mailing list