summaryrefslogtreecommitdiffstats
path: root/recipes/python/nativesdk-prebuild-python.inc
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2017-11-29 16:21:31 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2017-11-29 17:30:23 +0000
commit2b55502aad500d70256a6e92bec4d0e1258df482 (patch)
treeb211740f015dc80bfa8b8f47fd743145a7f7ce09 /recipes/python/nativesdk-prebuild-python.inc
parent95fea5050884c2138bd72bc540f53df48bc14da2 (diff)
downloadmeta-boot2qt-2b55502aad500d70256a6e92bec4d0e1258df482.tar.gz
prebuild-python: get complete python modules package
The prebuild package used by QtCreator did not contain all the necessary python modules needed by gdb. Get complete package from python.org. Also make sure those are located by both python.exe and gdb. We still need the original package to provide all the development files not included in the embeddable zip file. Task-number: QTBUG-64855 Change-Id: I109eea70390560e76a668996dfff5bf03424765b Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'recipes/python/nativesdk-prebuild-python.inc')
-rw-r--r--recipes/python/nativesdk-prebuild-python.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/recipes/python/nativesdk-prebuild-python.inc b/recipes/python/nativesdk-prebuild-python.inc
index 71e8e72..3d8c083 100644
--- a/recipes/python/nativesdk-prebuild-python.inc
+++ b/recipes/python/nativesdk-prebuild-python.inc
@@ -33,8 +33,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4b8a9367e6bb2acb6f26dc08654f6ee5"
33 33
34do_unpack[depends] += "p7zip-native:do_populate_sysroot" 34do_unpack[depends] += "p7zip-native:do_populate_sysroot"
35 35
36DEPENDS = "unzip-native"
37
38inherit bin_package nativesdk python3-dir 36inherit bin_package nativesdk python3-dir
39 37
40PV = "3.5.2" 38PV = "3.5.2"
@@ -51,7 +49,5 @@ do_install() {
51 install -d ${D}${bindir} 49 install -d ${D}${bindir}
52 install -m 0644 ${S}/python.exe ${D}${bindir} 50 install -m 0644 ${S}/python.exe ${D}${bindir}
53 install -m 0644 ${S}/python35.dll ${D}${bindir} 51 install -m 0644 ${S}/python35.dll ${D}${bindir}
54 52 install -m 0644 ${S}/python35.zip ${D}${bindir}
55 install -d ${D}${libdir}/${PYTHON_DIR}
56 unzip ${S}/python35.zip -d ${D}${libdir}/${PYTHON_DIR}
57} 53}