On Windows, pip install --upgrade pip will fail, as it tries to replace the pip.exe executable used to run pip (and it can't because that file is in use).
This PR calls pip using the command python -m pip, which avoids the executable wrapper and so allows projects that have pip as a dependency (such as pipenv) to be managed by pipsi.
On Windows,
pip install --upgrade pip
will fail, as it tries to replace thepip.exe
executable used to run pip (and it can't because that file is in use).This PR calls pip using the command
python -m pip
, which avoids the executable wrapper and so allows projects that have pip as a dependency (such as pipenv) to be managed by pipsi.