From 4a0a23f946f6e5c54fd2528f1a55c5b840731870 Mon Sep 17 00:00:00 2001 From: shunf4 Date: Tue, 1 Dec 2020 18:30:03 +0800 Subject: [PATCH] fix: win installer build: more accurate site_packages path 2 --- tools/win_installer/_base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/win_installer/_base.sh b/tools/win_installer/_base.sh index 31be2301..a56c9dc5 100644 --- a/tools/win_installer/_base.sh +++ b/tools/win_installer/_base.sh @@ -156,7 +156,7 @@ function install_gpodder { "${GPO_VERSION}" "${MINGW_ROOT}"/bin # install fake dbus - site_packages=$(build_python -c 'import sys;print(next(c for c in sys.path if "site-packages" in c))') + site_packages=$(build_python -c 'import sys;print(next(c for c in sys.path if "site-packages" in c and ".local" not in c))') site_packages_unix=$(echo "/$site_packages" | sed -e 's/\\/\//g' -e 's/://') rsync -arv --delete "${REPO_CLONE}"/tools/fake-dbus-module/dbus "${site_packages_unix}/"