diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b4b8d7da..e9f5d389 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -61,17 +61,13 @@ jobs: dependsOn: 'Test' pool: vmImage: 'Ubuntu-latest' - - steps: - - script: | - sudo apt-get update - sudo apt-get install python3-setuptools - displayName: 'Install setuptools' - + - task: UsePythonVersion@0 inputs: versionSpec: '3.x' architecture: 'x64' - - script: python setup.py sdist + - script: | + python -m pip install setuptools + python setup.py sdist displayName: 'Build sdist'