summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/setuptools_build_meta.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/setuptools_build_meta.bbclass b/meta/classes/setuptools_build_meta.bbclass
index 18ae2e6004..787fbd5f36 100644
--- a/meta/classes/setuptools_build_meta.bbclass
+++ b/meta/classes/setuptools_build_meta.bbclass
@@ -2,12 +2,16 @@ inherit pip_install_wheel setuptools3-base
2 2
3DEPENDS += "python3-setuptools-native python3-wheel-native" 3DEPENDS += "python3-setuptools-native python3-wheel-native"
4 4
5# Where to execute the build process from
6PEP517_SOURCE_PATH ?= "${S}"
7
5setuptools_build_meta_do_configure () { 8setuptools_build_meta_do_configure () {
6 : 9 :
7} 10}
8 11
9# TODO: ideally this uses pypa/build 12# TODO: ideally this uses pypa/build
10setuptools_build_meta_do_compile () { 13setuptools_build_meta_do_compile () {
14 cd ${PEP517_SOURCE_PATH}
11 nativepython3 -c "from setuptools import build_meta; build_meta.build_wheel('${PIP_INSTALL_DIST_PATH}')" 15 nativepython3 -c "from setuptools import build_meta; build_meta.build_wheel('${PIP_INSTALL_DIST_PATH}')"
12} 16}
13do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}" 17do_compile[cleandirs] += "${PIP_INSTALL_DIST_PATH}"