diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-28 07:51:22 +0100 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-10-28 09:34:35 +0000 |
| commit | 2a2a0827fa54b2eeb48e0e2090dfc503492ef33e (patch) | |
| tree | 4311f7ad34ff98fabcbe4c34e59a970ae4ff4bcf /sources/pyside2/tests/registry/init_platform.py | |
| parent | fb1c0f204e09ba29fa3d360d72231d4ed468c1e4 (diff) | |
Rename shiboken2 to shiboken6
Adapt CMake files, build scripts, tests and examples.
Task-number: PYSIDE-904
Change-Id: I4cb5ee4c8df539546014b08202a7b1e98ed3ff07
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/tests/registry/init_platform.py')
| -rw-r--r-- | sources/pyside2/tests/registry/init_platform.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sources/pyside2/tests/registry/init_platform.py b/sources/pyside2/tests/registry/init_platform.py index e80c3b69f..86548d7e5 100644 --- a/sources/pyside2/tests/registry/init_platform.py +++ b/sources/pyside2/tests/registry/init_platform.py @@ -104,7 +104,7 @@ if not os.path.exists(os.path.join(all_build_dir, look_for)): sys.exit(1) pyside_build_dir = os.path.join(all_build_dir, "pyside2") -shiboken_build_dir = os.path.join(all_build_dir, "shiboken2") +shiboken_build_dir = os.path.join(all_build_dir, "shiboken6") # now we compute all paths: def set_ospaths(build_dir): @@ -113,11 +113,11 @@ def set_ospaths(build_dir): old_val = os.environ.get(ospath_var, "") lib_path = [os.path.join(build_dir, "pyside2", "libpyside"), os.path.join(build_dir, "pyside2", "tests", "pysidetest"), - os.path.join(build_dir, "shiboken2", "tests", "libminimal"), - os.path.join(build_dir, "shiboken2", "tests", "libsample"), - os.path.join(build_dir, "shiboken2", "tests", "libother"), - os.path.join(build_dir, "shiboken2", "tests", "libsmart"), - os.path.join(build_dir, "shiboken2", "libshiboken")] + os.path.join(build_dir, "shiboken6", "tests", "libminimal"), + os.path.join(build_dir, "shiboken6", "tests", "libsample"), + os.path.join(build_dir, "shiboken6", "tests", "libother"), + os.path.join(build_dir, "shiboken6", "tests", "libsmart"), + os.path.join(build_dir, "shiboken6", "libshiboken")] ospath = ps.join(lib_path + old_val.split(ps)) os.environ[ospath_var] = ospath @@ -136,9 +136,9 @@ import testbinding all_modules.append("testbinding") # Note: This is not the shiboken dir as usual, but the binary. -import shiboken2 as Shiboken +import shiboken6 as Shiboken Shiboken.__name__ = "Shiboken" -sys.modules["Shiboken"] = sys.modules.pop("shiboken2") +sys.modules["Shiboken"] = sys.modules.pop("shiboken6") all_modules.append("Shiboken") # 'sample/smart' are needed by 'other', so import them first. |
