Python import broken

Description:

The move to Python 3.12.x broke the ability to import FreeCAD as a python module:

Additional info:

Steps to reproduce:

  1. install FreeCAD
  2. attempt to import it in python script