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/init_paths.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/init_paths.py')
| -rw-r--r-- | sources/pyside2/tests/init_paths.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside2/tests/init_paths.py b/sources/pyside2/tests/init_paths.py index 9cfdebc86..c0a9cd984 100644 --- a/sources/pyside2/tests/init_paths.py +++ b/sources/pyside2/tests/init_paths.py @@ -33,7 +33,7 @@ import sys SRC_DIR = os.path.dirname(os.path.abspath(__file__)) sys.path.append(os.path.join(os.path.dirname(os.path.dirname(SRC_DIR)), - 'shiboken2', 'tests')) + 'shiboken6', 'tests')) from shiboken_paths import (get_dir_env_var, get_build_dir, add_python_dirs, add_lib_dirs, shiboken_paths) @@ -68,7 +68,7 @@ def _get_qt_lib_dir(): def _init_test_paths(shiboken_tests=False, testbindings_module=False): """Sets the correct import paths (Python modules and C++ library paths) - for PySide tests and shiboken2 tests using depending on the environment + for PySide tests and shiboken6 tests using depending on the environment variables BUILD_DIR and QT_DIR pointing to the build directory and Qt directory, respectively.""" src_dir = os.path.dirname(os.path.abspath(__file__)) @@ -99,6 +99,6 @@ def init_test_paths(testbindings_module=False): def init_all_test_paths(): - """Sets the correct import paths for PySide2 and shiboken2 tests + """Sets the correct import paths for PySide2 and shiboken6 tests (for registry checking only).""" _init_test_paths(True, True) |
