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-install.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lang/python/python3/files/python3-package-install.sh') diff --git a/lang/python/python3/files/python3-package-install.sh b/lang/python/python3/files/python3-package-install.sh index 0b68dd245..373f315a1 100644 --- a/lang/python/python3/files/python3-package-install.sh +++ b/lang/python/python3/files/python3-package-install.sh @@ -46,10 +46,6 @@ process_filespec "$src_dir" "$dst_dir" "$filespec" || { exit 1 } -# delete egg-info directories -[ "$PYTHON3_KEEP_EGGINFO" == "1" ] || \ - find "$dst_dir" -name "*.egg-info" | xargs rm -rf - if [ "$mode" == "sources" ] ; then # Copy only python source files find $dst_dir -not -type d -not -name "*\.py" | xargs rm -f -- cgit