Copy __init__.py for azure + install azure-functions (#479)
This commit is contained in:
Родитель
b6b740a93c
Коммит
69caaaee68
|
@ -4,4 +4,4 @@ python -m venv .env
|
|||
source .env/bin/activate
|
||||
python -m pip install .
|
||||
|
||||
python -m pip install . --no-compile --target "$BUILD_SOURCESDIRECTORY/deps"
|
||||
python -m pip install . azure-functions --no-compile --target "$BUILD_SOURCESDIRECTORY/deps"
|
|
@ -4,4 +4,4 @@ python -m pip install .
|
|||
|
||||
$depsPath = Join-Path -Path $env:BUILD_SOURCESDIRECTORY -ChildPath "deps"
|
||||
|
||||
python -m pip install . --no-compile --target $depsPath.ToString()
|
||||
python -m pip install . azure-functions --no-compile --target $depsPath.ToString()
|
|
@ -19,6 +19,12 @@ jobs:
|
|||
inputs:
|
||||
disableAutoCwd: true
|
||||
scriptPath: 'pack/scripts/nix_deps.sh'
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
contents: |
|
||||
azure/__init__.py
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)/deps/azure'
|
||||
flattenFolders: true
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
contents: |
|
||||
|
|
|
@ -18,6 +18,12 @@ jobs:
|
|||
- task: PowerShell@2
|
||||
inputs:
|
||||
filePath: 'pack\scripts\win_deps.ps1'
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
contents: |
|
||||
azure\__init__.py
|
||||
targetFolder: '$(Build.ArtifactStagingDirectory)\deps\azure'
|
||||
flattenFolders: true
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
contents: |
|
||||
|
|
Загрузка…
Ссылка в новой задаче