xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 4 years ago

Closed 4 years ago

Last modified 17 months ago

#1857 closed task (fixed)

cx_freeze duplicates DLLs

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 2.4
Component: packaging Version: 2.3.x
Keywords: Cc:


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)

Change History (6)

comment:1 Changed 4 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

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.

comment:2 Changed 4 years ago by Antoine Martin

Priority: majorcritical
Resolution: fixed
Status: closedreopened

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..

comment:3 Changed 4 years ago by Antoine Martin

Resolution: fixed
Status: reopenedclosed

Fixed again:

  • r19838: gstreamer lib location fix
  • r19840: move the numpy DLLs explicitly, keep msvcrt in root dir
  • r19842: the gstreamer support libraries look like plugins but those are actual DLLs

comment:4 Changed 4 years ago by Antoine Martin

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.

comment:5 Changed 3 years ago by Antoine Martin

Follow up: #2468

comment:6 Changed 17 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1857

Note: See TracTickets for help on using tickets.