On Wed, Nov 15, 2017 at 3:24 PM, Thomas Kluyver <tak...@gmail.com> wrote:
> On 15 November 2017 at 22:00, Leandro Garcia <leandro.garci...@gmail.com>
> wrote:
>
>> In my own experience, cx_Freeze is not 100% accurate resolving
>> dependencies of dependencies... (do not ask me why)...
>>
>
> cx_Freeze finds dependencies using static analysis - it inspects your code
> and tries to work out what it will load. Since Python's a very dynamic
> language, this doesn't always work very well: you can load libraries in
> ways that static analysis doesn't detect.
>
> I've been building an experimental tool called 'kartoffel' which
> identifies dependencies by dynamic analysis. You run your application
> inside it, and when you close your application, it lists all the modules
> that were actually loaded. I haven't tested this much yet, but I hope it
> will find dependencies more reliably than static analysis.
> https://pypi.python.org/pypi/kartoffel
>
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.
>
> Best wishes,
> Thomas
>
> ------------------------------------------------------------
> ------------------
> 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
>
>
------------------------------------------------------------------------------
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