diff options
| -rw-r--r-- | meta/classes/pip_install_wheel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/pip_install_wheel.bbclass b/meta/classes/pip_install_wheel.bbclass index 9f9feda6ee..5b7e5cd706 100644 --- a/meta/classes/pip_install_wheel.bbclass +++ b/meta/classes/pip_install_wheel.bbclass | |||
| @@ -2,7 +2,7 @@ DEPENDS:append = " python3-pip-native" | |||
| 2 | 2 | ||
| 3 | def guess_pip_install_package_name(d): | 3 | def guess_pip_install_package_name(d): |
| 4 | '''https://www.python.org/dev/peps/pep-0491/#escaping-and-unicode''' | 4 | '''https://www.python.org/dev/peps/pep-0491/#escaping-and-unicode''' |
| 5 | return (d.getVar('PYPI_PACKAGE') or d.getVar('PN')).replace('-', '_') | 5 | return (d.getVar('PYPI_PACKAGE') or d.getVar('BPN')).replace('-', '_') |
| 6 | 6 | ||
| 7 | PIP_INSTALL_PACKAGE ?= "${@guess_pip_install_package_name(d)}" | 7 | PIP_INSTALL_PACKAGE ?= "${@guess_pip_install_package_name(d)}" |
| 8 | PIP_INSTALL_DIST_PATH ?= "${B}/dist" | 8 | PIP_INSTALL_DIST_PATH ?= "${B}/dist" |
