Install Python manually

This commit is contained in:
Adrien Ferrand 2019-12-12 14:54:42 +01:00
parent b6300cbdbb
commit 725eb7a2b8

View file

@ -38,10 +38,12 @@ jobs:
displayName: Retrieve Windows installer
- script: $(Build.SourcesDirectory)\bin\certbot-beta-installer-win32.exe /S
displayName: Install Certbot
- powershell: Invoke-WebRequest https://www.python.org/ftp/python/3.8.0/python-3.8.0-amd64-webinstall.exe -OutFile C:\py3-setup.exe
displayName: Get Python
- script: C:\py3-setup.exe /quiet PrependPath=1 InstallAllUsers=1 Include_launcher=1 InstallLauncherAllUsers=1 Include_test=0 Include_doc=0 Include_dev=0 Include_debug=0 Include_tcltk=0 TargetDir=C:\py3
displayName: Install Python
- script: |
choco install -y python3 --version=3.8.0 --no-progress
set PATH=C:\Python38;C:\Python38\Scripts;%PATH%
python -m venv venv
py -3 -m venv venv
venv\Scripts\python tools\pip_install.py -e certbot-ci
displayName: Prepare Certbot-CI
- script: |