mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
python3-coloredlogs: fix location of coloredlogs.pth
When calling setup.py with bdist_wheel, the find_pth_directory() in
setup.py correctly install the pth file to
${D}${PYTHON_SITEPACKAGES_DIR}. It's not clear why setup.py was being
patched original when the recipe was added in 2019, but it doesn't
appear to be necessary now.
This fixes the recipe to build with the recent PEP-517 changes.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
parent
2f4a34cb1e
commit
8988542616
|
|
@ -8,10 +8,6 @@ SRC_URI[sha256sum] = "7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5
|
|||
|
||||
inherit pypi setuptools3
|
||||
|
||||
do_compile:prepend() {
|
||||
sed -ie "s/find_pth_directory(),/'',/g" ${S}/setup.py
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
rm -rf ${D}${datadir}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user