As per this bug report: https://github.com/anthony-tuininga/cx_Freeze/issues/366: I don't expect the application to be small, but if possible I'd like it not to include python36.dll 21 times
Let's workaround this mess. (python3 for now, python2 is locked using cx_freeze 4.x)
Fixed in r19510.
Xpra-Python3-x86_64_2.4-r19505.zip was 291MB,
Xpra-Python3-x86_64_2.4-r19510.zip is now just 83MB! (and the EXE goes from ~100MB to ~50MB)
This needs to be backported.
This causes problems with numpy and some video / csc modules. There are also problems with gstreamer packaging: lots of warnings, many codecs don't load..
There's a fix for cx_freeze submitted here: Added an option to put all dependences in one place.
At some point after this fix is included in the MSYS2 package of cx_freeze we should probably switch to this approach. Yay, more painful changes.
Follow up: #2468
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1857