xpra icon
Bug tracker and wiki

Opened 3 months ago

Closed 6 weeks ago

Last modified 5 weeks 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:

Description

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 (4)

comment:1 Changed 3 months 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 2 months 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 6 weeks 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 5 weeks 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.

Note: See TracTickets for help on using tickets.