We've got a case where we have multiple small PyQt applications that we
freeze with cx_freeze for Windows deployment.  Although small, the fact
that pyqt, numpy, matplotlib, and pandas are in there makes them 150MB
uncompressed.

Is there some way to configure cx_freeze to use a shared directory for
common files used by multiple applications?

In our case, our actual code is < 30 kB, but we end up with:

   1. 150 MB uncompressed/unpackaged for each application!!
   2. 140 MB of this is common between all apps (via diff)
   3. library.zip (the 10MB difference) is mostly common... our code is a
   very small portion, especially when zipped
   4. Packaged into an MSI it is 70 MB

We have tried pulling out the common files and installing them in a
separate dir, and adding that dir to sys.path, but something in the import
chain isn't finding the required files.

Any tips, tricks, or solutions appreciated!

Russ
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to