On Tue, Feb 23, 2010 at 2:49 PM, Craig Swank <[email protected]> wrote:
> That is great work so far!  I think we are getting somewhere.  When
> you say
>
>> If there are a lot of them I could also add a
>> new option "namespace_packages" which essentially calls
>> pkgutil.extend_path for those packages. Let me know what you think.
>
> Do you mean that namespace_packages would handle anything that is a
> namespace package?  If so, I think that is the only way to go.  As I
> said, repoze is a set of namepace packages, and I think there are
> other ones that cx_freeze has trouble with.  For instance, PasteDeploy
> and PasteScript appear to be namespace packages, but they are not
> named with a '.' in the package name (I'll paste the tree output for
> each below).   Also, for my application, there are two repoze packages
> (repoze.bfg and repoze.lru).  I think it would be very difficult if
> you had to add a new hook for each new namespace that comes along.

Agreed.

So I have now checked in code that adds support for namespace packages
and modifies the hook for zope to use the new interface. You can put
in your own namespace packages (and any others you discover) in to the
new "namespace_packages" list -- a new build option. Grab the code
from Subversion and dump the modified files in place in your existing
installation. The base executables do not need to be rebuilt. I'd
appreciate your feedback. If you're satisfied I'll likely make a new
release with this and the few other things I've added over the last
couple of weeks.

Anthony

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
cx-freeze-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to