diff options
Diffstat (limited to 'meta/classes/python_pep517.bbclass')
| -rw-r--r-- | meta/classes/python_pep517.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/python_pep517.bbclass b/meta/classes/python_pep517.bbclass index 73bcf9ba07..34ffdc9c0d 100644 --- a/meta/classes/python_pep517.bbclass +++ b/meta/classes/python_pep517.bbclass | |||
| @@ -22,6 +22,12 @@ PEP517_INSTALL_PYTHON:class-native = "nativepython3" | |||
| 22 | # pypa/installer option to control the bytecode compilation | 22 | # pypa/installer option to control the bytecode compilation |
| 23 | INSTALL_WHEEL_COMPILE_BYTECODE ?= "--compile-bytecode=0" | 23 | INSTALL_WHEEL_COMPILE_BYTECODE ?= "--compile-bytecode=0" |
| 24 | 24 | ||
| 25 | # PEP517 doesn't have a specific configure step, so set an empty do_configure to avoid | ||
| 26 | # running base_do_configure. | ||
| 27 | python_pep517_do_configure () { | ||
| 28 | : | ||
| 29 | } | ||
| 30 | |||
| 25 | # When we have Python 3.11 we can parse pyproject.toml to determine the build | 31 | # When we have Python 3.11 we can parse pyproject.toml to determine the build |
| 26 | # API entry point directly | 32 | # API entry point directly |
| 27 | python_pep517_do_compile () { | 33 | python_pep517_do_compile () { |
| @@ -47,4 +53,4 @@ python_pep517_do_bootstrap_install () { | |||
| 47 | unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PEP517_WHEEL_PATH}/*.whl | 53 | unzip -d ${D}${PYTHON_SITEPACKAGES_DIR} ${PEP517_WHEEL_PATH}/*.whl |
| 48 | } | 54 | } |
| 49 | 55 | ||
| 50 | EXPORT_FUNCTIONS do_compile do_install | 56 | EXPORT_FUNCTIONS do_configure do_compile do_install |
