【发布时间】:2022-03-25 08:37:21
【问题描述】:
我找到了不错的项目https://github.com/NFJones/pipoe 还用它制作了一些从 PyPi 下载 Python3 模块并尝试将它们包含在我的自定义图像中的食谱。 将所有食谱放入 ../sources/meta-custom/recpies-devtools/python 单个配方看起来像 python3-gpsd-py3_0.3.0.bb
SUMMARY = "Python 3 library for working with gpsd"
HOMEPAGE = "https://github.com/MartijnBraam/gpsd-py3"
AUTHOR = "Martijn Braam <martijn@brixit.nl>"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://setup.py;md5=3e3cbe31a62516c437edc8135773c462"
inherit setuptools3 pypi
SRC_URI[md5sum] = "041ce56e8879e2104b4d54c8119cd529"
SRC_URI[sha256sum] = "2908d3bd78dfb6720ecfe22f97e139b5a4a198f38df3a77215cf644a33513192"
PYPI_PACKAGE = "gpsd-py3"
DEPENDS += " "
RDEPENDS_${PN} = ""
BBCLASSEXTEND = "native nativesdk"
但无论如何,bitbake 没有找到任何单一编译的配方 bitbake python3-gpsd-py3_0.3.0.bb
如何在 Yocto 食谱中正确添加非原生 Python3 模块? 还有如何在 Yocto BSP 中添加自定义 Python 应用程序?
【问题讨论】: