This has come up quite a few times on the cx_Freeze mailing lists
(see
cx_Freeze and moving files around
Creating fewer files when freezing a Python application
cx_freeze python single file? )
and it seems to me like it ought to be a simple fix, but I can't see how to begin.
I have a python application that depends on scipy, wxpython, numpy and a bunch of other packages that each have a LOT of dynamically linked libraries. The main executable folder gets very cluttered with PYD and DLL files and it is hard to even find the executable amongst all the files. My users are not particularly computer savvy, so clarity is very important.
I don't require a single executable like can theoretically be generated by bbfreeze. I like how the distutils setup.py file works with cx_Freeze and in every other way cx_Freeze is pretty much brilliant.
All I want is a way to clean up the main executable folder. I would be completely happy with manually moving the DLL files into a freeze_libs folder or something and then munging the shared library loading path to help it find the dynamic libraries if that is possible. Or something like that.
Thanks