Azure / azure-functions-devops-build

A python library for setting up and managing Azure DevOps builds for Azure Functions projects
MIT License
14 stars 24 forks source link

Release 17 #34

Closed Hazhzeng closed 5 years ago

Hazhzeng commented 5 years ago

Fix Windows Azure-CLI version issue

Previously, when packaging .msi installer for Windows user

  1. the Azure-CLI source files are set in C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-xxxxxxxx
  2. the site-packages for Azure-CLI is set in D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages
  3. However, the site-package's site-packages is located back in C:\Users\VSSADM~1\AppData\Local\Temp

That's the cause why resolving .jinja template file with PackageLoader is not reliable.