Hi All,

I am having trouble freezing an application that utilizing implicit namespace 
packages, new in python 3.3.

After some debugging, it seems that imp.find_module (used by 
cx_Freeze.Finder._FindModule), is not doing such a great job finding these 
things.

I am wondering if anyone has some idea  on the best way to address this.  The 
docs deprecating imp.find_module suggest that the proper replacement should be 
importlib.find_loader or importlib.util.find_spec depending on whether you are 
targeting 3.3 or 3.4+.  However, utilizing those would instigate multiple 
implementations of the functionality and as far as I can tell, this would 
percolate throughout finder.py.

I did find the namespace_packages functionality, which I am not sure if it is a 
same or similar thing, but specifying the implicit namespace package as a 
namespace did not help the situation... I think because the package in question 
doesn't get put in sys.modules, though I can't tell what would populate that 
collection in the case of older namespaces.

Thanks in advance.

Steven
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to