When installing Python ensure that pip is installed too

If Python is not deinstalled cleanly (01-windows_removethemall.ps1
just erases installation directory) pip is not bootstrapped by new
installation. Fix it by running ensurepip module.

Change-Id: I3a7ed87eed30118876d7022eed94b8a571677529
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Konstantin Tokarev 2016-11-18 21:27:18 +03:00
parent aafc3f8644
commit fa00780be3
1 changed files with 2 additions and 0 deletions

View File

@ -62,3 +62,5 @@ echo "Chancing allowZip64 value to 'True'..."
echo "Remove $package..."
del $package
Add-Path $path
& python -m ensurepip