XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Build System
    • None
    • f9736b9c5 (dev), abb3223d2 (6.8)

    Description

      Currently the blocker is with `shibokenmodule` depending on `Shiboken6::shiboken6` to generate:

      • `shiboken_module_wrapper.cpp`
      • `shiboken_python.h

      Which in turn creates the `Shiboken` python module file. But it seems I got the dependency backwards. Neither generator nor the apiextractor actually depend on shiboken libraries. So instead, we should look at packaging shiboken_generator as a standalone and build shiboken library with it. I.e.

      [build-system]
      requires = ["scikit-build-core", "shiboken6_generator"]
      build-backend = "scikit_build_core.build"
      
      [project]
      name = "shiboken6"
      dependencies = [  ]
      
      [build-system]
      requires = ["scikit-build-core"]
      build-backend = "scikit_build_core.build"
      
      [project]
      name = "shiboken6_generator"
      dependencies = [ "shiboken6" ]
      

      (not sure if all shiboken6_generator dependency should be moved to shiboken6)

      Another uncertainty is if the buildsystem can be convinced to not check for the `dependencies` during the build process, which I think it would be the case.

      Attachments

        For Gerrit Dashboard: PYSIDE-3010
        # Subject Branch Project Status CR V

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            lecris Cristian Le
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes