Enforce Pip installs under Python 3.6

This commit is contained in:
Babil Golam Sarwar 2018-05-29 16:50:33 +10:00
parent 5853113e90
commit e3439a9af8

View file

@ -63,13 +63,7 @@ install:
- ps: Get-Location - ps: Get-Location
- bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && ls -alh" - bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && ls -alh"
# Install Python modules
- ps: python -m pip install --upgrade pip
# - ps: python -m pip install --upgrade packager
- ps: python -m pip install --upgrade pyinstaller
# Install NPM modules # Install NPM modules
# - bash -e -l -c "cd /C/Tridactyl && npm install -g windows-build-tools"
- bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && npm install" - bash -e -l -c "cd $APPVEYOR_BUILD_FOLDER && npm install"
build_script: build_script:
@ -78,6 +72,10 @@ build_script:
- ps: $env:PATH = "C:\Python36-x64;$env:PATH" - ps: $env:PATH = "C:\Python36-x64;$env:PATH"
- ps: Copy-Item -Path "C:\Python36-x64\Python.exe" -Destination "C:\Python36-x64\Python3.exe" - ps: Copy-Item -Path "C:\Python36-x64\Python.exe" -Destination "C:\Python36-x64\Python3.exe"
# Install Python modules under Python 3.6
- ps: python -m pip install --upgrade pip
- ps: python -m pip install --upgrade pyinstaller
# Change to build directory and verify CWD # Change to build directory and verify CWD
- ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER - ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER
- ps: Write-Host "[+] Current working directory is ..." - ps: Write-Host "[+] Current working directory is ..."