[yocto] Creating a recipe for python3-pillow
Oliver Westermann
owestermann at gmail.com
Thu Jul 5 00:26:19 PDT 2018
Hey,
I'm fiddeling around with yocto. I want to move some python stuff onto an
embedded board and use the nxp mx8 yocto. Everything worked as expected
until now, I was able to create yocto recipes for python modules like
pyv4l2 (is there any interest for recipes like these to be commited to
meta-python?).
Now I wanted to install pillow for some image manipulation, but whereas
other python module recipes worked fine, this one fails and I don't
understand why.
Yocto reports missing setuptools:
Log data follows:
| DEBUG: Executing shell function do_configure
| NOTE: make clean
| python setup.py clean
| Traceback (most recent call last):
| File "setup.py", line 22, in <module>
| from setuptools import Extension, setup
| ImportError: No module named setuptools
I've googled around and everything suggests that inherit setuptools3 is
missing, but it's present in my recipe. This is my python3-pillow_5.2.0.bb:
SUMMARY = "Pillow (The friendly PIL fork)"
HOMEPAGE = "http://python-pillow.org/"
LICENSE = "EPLv1"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c6379001ecb47e2a0420c40177fc1125"
SRC_URI[md5sum] = "52d93a34f4180abcff04876f23eaa9b9"
PYPI_PACKAGE = "Pillow"
inherit pypi setuptools3
BBCLASSEXTEND = "native nativesdk"
Any idea whats missing or what I am doing wrong (other than that the
license line is incorrect)?
Best regards, Olli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180705/e730b2ed/attachment.html>
More information about the yocto
mailing list