Просмотр исходного кода

Unset `PIP_REQUIRE_VENV` during build (fixes #216)

pull/220/head
Yamashita Yuu 12 лет назад
Родитель
Сommit
ae4659538d
1 измененных файлов: 4 добавлений и 0 удалений
  1. +4
    -0
      plugins/python-build/bin/python-build

+ 4
- 0
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 exit 1
fi 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) # pydistutils.cfg may corrupt install location of Python libraries (#35, #111)
if [ -e "$HOME/.pydistutils.cfg" ]; then if [ -e "$HOME/.pydistutils.cfg" ]; then
{ colorize 1 "WARNING" { colorize 1 "WARNING"

Загрузка…
Отмена
Сохранить