Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-662

Consider extracting shiboken from the generated PySide2 wheel package

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.9
    • Fix Version/s: 5.12.0
    • Component/s: Shiboken
    • Labels:

      Description

      Currently we ship shiboken as part of the PySide2 package.
      This inflates the wheel size by quite a bit.
      For instance on macOS:
      shiboken size - 4MB
      libclang.dylib size - 64MB (51MB on Windows)

      The report sizes are for libclang 6.0. For 4.0 on Windows the size is ~22MB.
      We would save a bit of space in the wheel if we would ship shiboken as a separate package.

      An additional step would be linking against a static version of libclang, thus reducing the size further.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                alexandru.croitor Alexandru Croitor
                Reporter:
                alexandru.croitor Alexandru Croitor
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes