From ae4659538d38fbdf58ac47031b93a2e8f2a73a58 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Mon, 11 Aug 2014 10:40:56 +0900 Subject: [PATCH] Unset `PIP_REQUIRE_VENV` during build (fixes #216) --- plugins/python-build/bin/python-build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index cdd9de70..cf95e35d 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1623,6 +1623,10 @@ if ! command -v curl 1>/dev/null 2>&1 && [[ "$(wget --version 2>/dev/null || tru exit 1 fi +# Unset `PIP_REQUIRE_VENV` during build (#216) +unset PIP_REQUIRE_VENV +unset PIP_REQUIRE_VIRTUALENV + # pydistutils.cfg may corrupt install location of Python libraries (#35, #111) if [ -e "$HOME/.pydistutils.cfg" ]; then { colorize 1 "WARNING"