I think I found the problem. I was also able to import
rubbish.example, but if you install rubbish.anotherexample (http://sabeto.homeunix.com/rubbish.anotherexample.tar.bz2
) cx_freeze won't be able to find it (at least on my system).
After poking around finder.py, it looks like a couple of methods
assume that if there is a '.' in the package name, the package you are
importing is the child of another package. For instance, when it
tries to find zope.component, the method _InternalImportModule looks
for a parent module, and finds zope.interface, which is not correct.
Craig
On Feb 23, 2010, at 9:39 AM, Craig Swank wrote:
I mentioned some of the third party package aren't found. Two
examples are zope.component and PasteDeploy.
zope.component-3.9.2.tar.gz
PasteDeploy-1.3.3.tar.gz
I can't give you the code I'm working on, but the package was
produced with a paster template. Here is a link to a package that
has nothing in it. It is what you get if you do (you must first
easy_install zopeskel):
paster create -t basic_namespace rubbish.example
You can download the one I just created from:
http://sabeto.homeunix.com/rubbish.example.tar.bz2
In the meantime I'm going to pdb around your finder.py and see how
the self._modules gets populated.
Thanks again,
Craig
On Feb 23, 2010, at 9:26 AM, Anthony Tuininga wrote:
On Tue, Feb 23, 2010 at 9:23 AM, Craig Swank <[email protected]>
wrote:
Yes, that is what I meant by namespace package. I probably need to
figure it out, because there are about 10 dependencies that exist in
the form of namespace packages.
So, for us to figure this out, what additional information can I
give
you?
Well, perhaps you can provide me a link to one of these namespace
packages that you are using? If they are your own packages, perhaps
you can provide the package itself or a very simple namespace package
that you don't mind sharing with me. I just need to see how the
namespace packages you are using work -- then I can suggest how to
make it work for you.
Thanks for taking the time, because this is for a work project that
was sprung on me at the last second and I'd like to get it taken
care
of.
You're welcome.
Anthony
------------------------------------------------------------------------------
Download Intel® 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
<ATT00001.txt><ATT00002.txt>
------------------------------------------------------------------------------
Download Intel® 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