Bladeren bron

Unset `PIP_REQUIRE_VENV` during build (fixes #216)

pull/220/head
Yamashita Yuu 12 jaren geleden
bovenliggende
commit
ae4659538d
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. +4
    -0
      plugins/python-build/bin/python-build

+ 4
- 0
plugins/python-build/bin/python-build Bestand weergeven

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

Laden…
Annuleren
Opslaan