From 8f9ab712c4b4a05229e65105792c23bc96f5befe Mon Sep 17 00:00:00 2001 From: Tomasz Meresiński Date: Wed, 7 Feb 2018 17:43:52 +0100 Subject: python3-twisted: remove python3-twisted-src MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb b/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb index dfb9d4a4cc..6bd8c52eb0 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_17.9.0.bb @@ -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 \ -- cgit v1.2.3-54-g00ecf