mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +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:
committed by
Armin Kuster
parent
cee1608a98
commit
8f9ab712c4
@@ -1,6 +1,8 @@
|
||||
inherit pypi setuptools3
|
||||
require python-twisted.inc
|
||||
|
||||
PACKAGES_remove = "${PN}-src"
|
||||
|
||||
FILES_${PN}-core_append += " \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/__pycache__ \
|
||||
${libdir}/${PYTHON_DIR}/site-packages/twisted/python/__pycache__/*pyc \
|
||||
|
||||
Reference in New Issue
Block a user