Skip to content

Commit

Permalink
appveyor: fix issue self-upgradig pip to v10 (#663)
Browse files Browse the repository at this point in the history
Installing with --user will leave the old pip.exe script in the $PATH,
but running this will fail because pip 10 moved 'main' to internal
modules.

pypa/pip#5240 (comment)
  • Loading branch information
anthrotype authored and eustas committed Apr 20, 2018
1 parent 6000396 commit f94cd51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ environment:
install:
- IF "%BUILD_SYSTEM%"=="Python" (
SET "PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%" &&
pip install --disable-pip-version-check --user --upgrade pip &&
python -m pip install --upgrade pip &&
pip install --upgrade setuptools
)
- IF "%BUILD_SYSTEM%"=="make" (
Expand Down

0 comments on commit f94cd51

Please sign in to comment.