]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3: -dev should depend on distutils
authorRoss Burton <ross.burton@intel.com>
Thu, 17 Oct 2019 11:29:44 +0000 (12:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 19 Oct 2019 17:13:38 +0000 (18:13 +0100)
python3-config uses distutils:

Traceback (most recent call last):
  File "/usr/bin/python3-config", line 9, in <module>
    from distutils import sysconfig
ModuleNotFoundError: No module named 'distutils'

Add the dependency so that distutils is always present.

[ YOCTO #13592 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3/python3-manifest.json

index 1ad85a9ff3882035c0c400e3c14386bc453f2c52..1eddda91b4a49e79ea5d59ddeb88595fe82004ef 100644 (file)
             "${libdir}/pkgconfig"
         ],
         "rdepends": [
-            "core"
+            "core",
+            "distutils"
         ],
         "summary": "Python development package"
     },