libui/azure-pipelines/vs2015-install-python3.yml

11 lines
615 B
YAML
Raw Permalink Normal View History

2019-04-04 21:24:20 -05:00
# 4 april 2019
# see https://github.com/Microsoft/azure-pipelines-image-generation/issues/374 for context and source
2019-04-04 21:24:20 -05:00
steps:
2019-04-04 21:26:15 -05:00
- script: |
powershell -Command "Invoke-WebRequest https://www.python.org/ftp/python/3.7.1/python-3.7.1-amd64-webinstall.exe -OutFile C:\py3-setup.exe"
2019-04-04 21:26:15 -05:00
C:\py3-setup.exe /quiet PrependPath=0 InstallAllUsers=0 Include_launcher=0 InstallLauncherAllUsers=0 Include_test=0 Include_doc=0 Include_dev=0 Include_debug=0 Include_tcltk=0 TargetDir=C:\Python37
@echo ##vso[task.prependpath]C:\Python37
@echo ##vso[task.prependpath]C:\Python37\Scripts
displayName: 'Install Python 3'