mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-29 20:58:16 +00:00
python3-twisted: remove python3-twisted-src
In python2 .py files are not necessary when importing a module. In python3 it's impossible to import without them. Removing python3-twisted-src makes .py files appear in packages again. Signed-off-by: Tomasz Meresiński<tomasz.meresinski@comarch.pl> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
cee1608a98
commit
8f9ab712c4
@ -1,6 +1,8 @@
|
|||||||
inherit pypi setuptools3
|
inherit pypi setuptools3
|
||||||
require python-twisted.inc
|
require python-twisted.inc
|
||||||
|
|
||||||
|
PACKAGES_remove = "${PN}-src"
|
||||||
|
|
||||||
FILES_${PN}-core_append += " \
|
FILES_${PN}-core_append += " \
|
||||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/__pycache__ \
|
${libdir}/${PYTHON_DIR}/site-packages/twisted/__pycache__ \
|
||||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__pycache__/*pyc \
|
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__pycache__/*pyc \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user