]> git.phdru.name Git - cookiecutter.git/commitdiff
CI(appveyor.yml): Upgrade `pip` using `python -m pip`
authorOleg Broytman <phd@phdru.name>
Sun, 1 Apr 2018 00:40:56 +0000 (03:40 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 1 Apr 2018 00:40:56 +0000 (03:40 +0300)
Avoid `WindowsError: [Error 5] Access is denied`.

project_template/appveyor.yml

index 5a675a66b7e3d4e322f5f1821d173612cc826ed8..cddc5e577a552c36974e58d55fd2ba52a65ed061 100644 (file)
@@ -71,8 +71,9 @@ install:
   - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
   - "python --version"
   - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
   - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe"
   - "python --version"
   - "python -c \"import struct; print(struct.calcsize('P') * 8)\""
+  - "python -m pip install --upgrade pip setuptools"
+  - "pip install --upgrade tox ppu"
   - "pip --version"
   - "pip --version"
-  - "pip install --upgrade pip setuptools tox ppu"
 
 # No build step - we don't have C extensions
 build: false
 
 # No build step - we don't have C extensions
 build: false