Hi Steven,
The existing namespace_packages functionality in cx_Freeze is for old-style
namespace packages, where you put an __init__.py inside the package that
declares it as a namespace package. Hopefully it's possible to build
support for PEP 420 namespace packages on top of that, but I haven't looked
into what it would take.
Thomas
On 25 September 2014 08:43, Steven Velez <steven.ve...@autodesk.com> wrote:
> 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
>
>
------------------------------------------------------------------------------
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