Selaa lähdekoodia

Unset `PIP_REQUIRE_VENV` during build (fixes #216)

pull/220/head
Yamashita Yuu 12 vuotta sitten
vanhempi
commit
ae4659538d
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. +4
    -0
      plugins/python-build/bin/python-build

+ 4
- 0
plugins/python-build/bin/python-build Näytä tiedosto

@ -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"

Ladataan…
Peruuta
Tallenna