From: Manuel Vögele Date: Tue, 23 Aug 2016 10:56:49 +0000 (+0200) Subject: python-pyqt: Removed 'compileall' directive from INSTALL_TARGET_CMDS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41c08629b1efcd1bf2c984ba22d56f209bb50354;p=buildroot.git python-pyqt: Removed 'compileall' directive from INSTALL_TARGET_CMDS Since all python modules are now byte-compiled globally this is no longer necessary. Signed-off-by: Manuel Vögele Signed-off-by: Thomas Petazzoni --- diff --git a/package/python-pyqt/python-pyqt.mk b/package/python-pyqt/python-pyqt.mk index fa298c480f..50e835170f 100644 --- a/package/python-pyqt/python-pyqt.mk +++ b/package/python-pyqt/python-pyqt.mk @@ -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))