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:
Tomasz Meresiński
2018-02-07 17:43:52 +01:00
committed by Armin Kuster
parent cee1608a98
commit 8f9ab712c4

View File

@@ -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 \