python-pyqt: Removed 'compileall' directive from INSTALL_TARGET_CMDS
authorManuel Vögele <develop@manuel-voegele.de>
Tue, 23 Aug 2016 10:56:49 +0000 (12:56 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Aug 2016 13:00:05 +0000 (15:00 +0200)
Since all python modules are now byte-compiled globally this is no
longer necessary.

Signed-off-by: Manuel Vögele <develop@manuel-voegele.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/python-pyqt/python-pyqt.mk

index fa298c480f645f11d97d3bafd2d88f5bfaf3337f..50e835170f215430dee2f9dd68b4dcc3be1dc3c0 100644 (file)
@@ -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))