On Mon, Nov 20, 2017 at 5:05 AM, Thomas Kluyver <tak...@gmail.com> wrote:
> On 18 November 2017 at 23:59, Anthony Tuininga <anthony.tuini...@gmail.com
> > wrote:
>
>> Nice! Please keep me posted on your progress on this. It may be useful to
>> take the output from this program and use it as an optional source for
>> cx_Freeze.
>>
>
> Thanks. :-) Yup, that's the kind of use case I'm thinking of - I want this
> for Pynsist as well. I've experimented with it, and I'm fairly happy with
> what it does, but I haven't tried to do anything with the output yet.
>
> The main problem I want to resolve is in classifying modules from the
> standard library. There's a handy package I'm using called stdlib_list, but
> it currently only covers the *documented* modules of the standard library:
> https://github.com/jackmaney/python-stdlib-list/issues/7
>
Might you be able to use a known standard library to determine its
location, and then use that location to strip out all other modules found
in that location? That might be easier and more reliable than a list of
modules? A list of names might also cause difficulties if someone uses a
standard name to override some functionality in a standard module --
perhaps not wise but I'm sure it happens. :-)
Anthony
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users