Skip to contentSkip to conversation

python-pyqt: Removed 'compileall' directive from INSTALL_TARGET_CMDS

PATCH New Manuel Vögele 2 participants 2 messages Aug 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pyqt: Removed 'compileall' directive from INSTALL_TARGET_CMDS

Since all python modules are now byte-compiled globally this is no longer necessary.

---
 package/python-pyqt/python-pyqt.mk | 3 ---
 1 file changed, 3 deletions(-)
package/python-pyqt/python-pyqt.mk +0 -3
index fa298c4..50e8351 100644
@@ -108,9 +108,6 @@ define PYTHON_PYQT_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install
 	touch $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT_PYTHON_DIR)/site-packages/PyQt4/__init__.py
 	$(RM) -rf $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT_PYTHON_DIR)/site-packages/PyQt4/uic/$(PYTHON_PYQT_RM_PORT_BASE)
-	PYTHONPATH="$(PYTHON_PATH)" \
-		$(HOST_DIR)/usr/bin/python -c "import compileall; \
-		compileall.compile_dir('$(TARGET_DIR)/usr/lib/$(PYTHON_PYQT_PYTHON_DIR)/site-packages/PyQt4')"
 endef
 
 $(eval $(generic-package))
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 python-pyqt: Removed 'compileall' directive from INSTALL_TARGET_CMDS

Hello,

Quoted 7 lines · Manuel V?gele

Since all python modules are now byte-compiled globally this is no longer necessary.

---
 package/python-pyqt/python-pyqt.mk | 3 ---
 1 file changed, 3 deletions(-)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com