From c5cbd44cea99c5abe7317833d0671828abb6e108 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 8 Jan 2018 17:26:54 +0800 Subject: python,python3: undo egg-info removal This reverts commits 4333d1dcbfd67dde4ca7d08717bc345cc424fbf8 and 074d2863be48c1a9093fffcda91f7a328bc7d0cb, making Python packages discoverable again by pkg_resources. Fixes #5361. Signed-off-by: Jeffery To --- lang/python/python3/files/python3-package.mk | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lang/python/python3/files/python3-package.mk') diff --git a/lang/python/python3/files/python3-package.mk b/lang/python/python3/files/python3-package.mk index 1d42b6dc3..93b14fac2 100644 --- a/lang/python/python3/files/python3-package.mk +++ b/lang/python/python3/files/python3-package.mk @@ -32,8 +32,6 @@ ifdef CONFIG_USE_MIPS16 TARGET_CFLAGS += -mno-mips16 -mno-interlink-mips16 endif -PYTHON3_KEEP_EGGINFO ?= 0 - define Py3Package define Package/$(1)-src @@ -70,13 +68,11 @@ define Py3Package $(call Py3Package/$(1)/install,$$(1)) find $(PKG_INSTALL_DIR) -name "*\.exe" | xargs rm -f if [ -e files/python3-package-install.sh ] ; then \ - PYTHON3_KEEP_EGGINFO="$(PYTHON3_KEEP_EGGINFO)" \ $(SHELL) files/python3-package-install.sh \ "$(PKG_INSTALL_DIR)" "$$(1)" \ "$(HOST_PYTHON3_BIN)" "$$(2)" \ "$$$$$$$$$$(call shvar,Py3Package/$(1)/filespec)" ; \ elif [ -e $(STAGING_DIR)/mk/python3-package-install.sh ] ; then \ - PYTHON3_KEEP_EGGINFO="$(PYTHON3_KEEP_EGGINFO)" \ $(SHELL) $(STAGING_DIR)/mk/python3-package-install.sh \ "$(PKG_INSTALL_DIR)" "$$(1)" \ "$(HOST_PYTHON3_BIN)" "$$(2)" \ -- cgit