diff options
Diffstat (limited to 'sources/shiboken2/shibokenmodule/__init__.py.in')
-rw-r--r-- | sources/shiboken2/shibokenmodule/__init__.py.in | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sources/shiboken2/shibokenmodule/__init__.py.in b/sources/shiboken2/shibokenmodule/__init__.py.in deleted file mode 100644 index ed6ce5623..000000000 --- a/sources/shiboken2/shibokenmodule/__init__.py.in +++ /dev/null @@ -1,30 +0,0 @@ -__version__ = "@FINAL_PACKAGE_VERSION@" -__version_info__ = (@shiboken_MAJOR_VERSION@, @shiboken_MINOR_VERSION@, @shiboken_MICRO_VERSION@, "@shiboken_PRE_RELEASE_VERSION_TYPE@", "@shiboken_PRE_RELEASE_VERSION@") - -# PYSIDE-932: Python 2 cannot import 'zipfile' for embedding while being imported, itself. -# We simply pre-load all imports for the signature extension. -# Also, PyInstaller seems not always to be reliable in finding modules. -# We explicitly import everything that is needed: -import sys -import os -import zipfile -import base64 -import marshal -import io -import contextlib -import textwrap -import traceback -import types -import struct -import re -import tempfile -import keyword -import functools -if sys.version_info[0] == 3: - # PyInstaller seems to sometimes fail: - import typing - -from .shiboken2 import * - -# Trigger signature initialization. -type.__signature__ |