diff options
Diffstat (limited to 'sources/pyside6/PySide6/__init__.py.in')
-rw-r--r-- | sources/pyside6/PySide6/__init__.py.in | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sources/pyside6/PySide6/__init__.py.in b/sources/pyside6/PySide6/__init__.py.in index 8f6c47b87..d0a4ecc37 100644 --- a/sources/pyside6/PySide6/__init__.py.in +++ b/sources/pyside6/PySide6/__init__.py.in @@ -68,26 +68,6 @@ def _setupQtDirectories(): file=sys.stderr) raise - # Trigger signature initialization. - try: - # PYSIDE-829: Avoid non-existent attributes in compiled code (Nuitka). - # We now use an explicit function instead of touching a signature. - _init_pyside_extension() - except (AttributeError, NameError): - stars = 79 * "*" - fname = Shiboken.__file__ - print(dedent(f'''\ - {stars} - PySide6/__init__.py: The `signature` module was not initialized. - This libshiboken module was loaded from - - "{fname}". - - Please make sure that this is the real Shiboken binary and not just a folder. - {stars} - '''), file=sys.stderr) - raise - if sys.platform == 'win32': # PATH has to contain the package directory, otherwise plugins # won't be able to find their required Qt libraries (e.g. the |