File: seed-virtualenv-wheels.yml

package info (click to toggle)
python-azure 20250603%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 851,724 kB
  • sloc: python: 7,362,925; ansic: 804; javascript: 287; makefile: 195; sh: 145; xml: 109
file content (22 lines) | stat: -rw-r--r-- 763 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
parameters:
  WHEEL_VERSION: '0.37.0'
  SETUPTOOLS_VERSION: '59.6.0'
  PIP_VERSION: '20.3.3'

steps:
  - pwsh: |
      python -m pip install virtualenv
    displayName: Ensure virtualenv installed

  - pwsh: |
      mkdir $(Agent.TempDirectory)/_virtualenv
      Write-Host "##vso[task.setvariable variable=VIRTUALENV_OVERRIDE_APP_DATA]$(Agent.TempDirectory)/_virtualenv"
    displayName: Set VIRTUALENV_OVERRIDE_APP_DATA

  - pwsh: |
      $(Build.SourcesDirectory)/eng/scripts/seed-virtualenv-wheels.ps1 `
        -Pip "${{ parameters.PIP_VERSION }}" `
        -SetupTools "${{ parameters.SETUPTOOLS_VERSION }}" `
        -Wheel "${{ parameters.WHEEL_VERSION }}" `
        -SeedDirectory "$(Agent.TempDirectory)/seed_env"
    displayName: Populate the seed dir