diff options
author | Simo Fält <simo.falt@qt.io> | 2023-06-29 15:19:20 +0300 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2023-06-29 15:19:20 +0300 |
commit | 568797c36a73aecce050fd198353f31aa986bff9 (patch) | |
tree | e1781afe922c4b6327045134639a5c5d41b56300 /sources/shiboken2/shibokenmodule/CMakeLists.txt | |
parent | 643237181d15086816d38cdb17f18147c7ebcbd8 (diff) | |
parent | c76c68a64bb4dce48017c61b4ca021dc6726f77b (diff) |
Merge tag 'v5.15.11-lts' into tqtc/lts-5.15-opensourcev5.15.11-lts-lgpl
Qt For Python Release 5.15.11
Change-Id: Idbf9b792238244e185e39be4058a7a2c69458ce9
Diffstat (limited to 'sources/shiboken2/shibokenmodule/CMakeLists.txt')
-rw-r--r-- | sources/shiboken2/shibokenmodule/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sources/shiboken2/shibokenmodule/CMakeLists.txt b/sources/shiboken2/shibokenmodule/CMakeLists.txt index 9b2b58528..c861caf29 100644 --- a/sources/shiboken2/shibokenmodule/CMakeLists.txt +++ b/sources/shiboken2/shibokenmodule/CMakeLists.txt @@ -41,6 +41,14 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/_config.py" configure_file("${CMAKE_CURRENT_SOURCE_DIR}/__init__.py.in" "${CMAKE_CURRENT_BINARY_DIR}/__init__.py" @ONLY) +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Shiboken.pyi" + "${CMAKE_CURRENT_BINARY_DIR}/Shiboken.pyi" @ONLY) +# typing support for mypy +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/py.typed.in" + "${CMAKE_CURRENT_BINARY_DIR}/py.typed" @ONLY) +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/Shiboken.pyi" + "${CMAKE_CURRENT_BINARY_DIR}/py.typed" + DESTINATION "${PYTHON_SITE_PACKAGES}/shiboken2") # Variable from enclosing scope. foreach(item IN LISTS shiboken_python_files) |