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

pyside option to enable/disable pyi files generation

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • 6.7.0
    • 6.3.2
    • Build System
    • None
    • All
    • 2bb8b0f7bef8521cd8ffc395169d2dd152d59a92

      because pyi file generation may fail on some platforms

      (see https://bugreports.qt.io/browse/PYSIDE-1193, or on conda/windows)

      I propose to add an option to enable/disable pyi files generation to opt-out on the problematic platforms

       

      if (PYSIDE_IS_CROSS_BUILD) 
        option (PYSIDE_GENERATE_PYI "generate pyi files" OFF) 
      else () 
        option (PYSIDE_GENERATE_PYI "generate pyi files" ON) 
      endif () 
      if(PYSIDE_GENERATE_PYI) 
           ...

       

      here is a proposition of patch, which keeps the current default

       

      cc ctismer

       

       

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

            crmaurei Cristian Maureira-Fredes
            jschueller Julien Schueller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes