mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-10 20:28:17 +00:00
python-pathlib2: add python-scandir and python-misc to runtime depends
...
$ >>> python
$ >>> import pathlib2 as pathlib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/pathlib2/__init__.py", line 52, in <module>
from scandir import scandir as os_scandir
ImportError: No module named scandir
$ >>> import pathlib2 as pathlib
ceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/pathlib2/__init__.py", line 9, in <module>
import ntpath
ImportError: No module named ntpath
...
Module scandir comes from python-scandir and ntpath comes from python-misc
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,2 +1,6 @@
|
||||
inherit pypi setuptools
|
||||
require python-pathlib2.inc
|
||||
|
||||
RDEPENDS_${PN} += "python-scandir \
|
||||
python-misc \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user