mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
parent
63ac2b717f
commit
854f6f3a46
1 changed files with 6 additions and 0 deletions
|
@ -1404,6 +1404,12 @@ if ! command -v curl 1>/dev/null 2>&1 && [[ "$(wget --version 2>/dev/null || tru
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# pydistutils.cfg may corrupt install location of Python libraries (#35, #111)
|
||||
if [ -e "$HOME/.pydistutils.cfg" ]; then
|
||||
echo "python-build: Please make sure you remove any previous custom paths from your $HOME/.pydistutils.cfg file." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SEED="$(date "+%Y%m%d%H%M%S").$$"
|
||||
LOG_PATH="${TMP}/python-build.${SEED}.log"
|
||||
PYTHON_BIN="${PREFIX_PATH}/bin/python"
|
||||
|
|
Loading…
Reference in a new issue