From bc6f7feb7778d54a537b487e4d40795872e7ee7b Mon Sep 17 00:00:00 2001 From: xufan6 Date: Mon, 7 Sep 2020 01:33:13 -0700 Subject: [PATCH] specific version for pyinstaller only in py2.7 azure-pipelines.yml --- azure-pipelines.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8ec42ac..ef0b16d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -31,8 +31,10 @@ jobs: matrix: Python27: python.version: '2.7' + pyinstaller.version: 'pyinstaller==3.6' Python37: python.version: '3.7' + pyinstaller.version: 'pyinstaller' maxParallel: 4 steps: @@ -44,7 +46,7 @@ jobs: - script: python -m pip install --upgrade pip displayName: 'Install dependencies' - - script: pip install pyinstaller==3.6 + - script: pip install $(pyinstaller.version) name: 'pyinstaller' - bash: sed -i -e "s/\${BUILD_SOURCEBRANCHNAME}/${BUILD_SOURCEBRANCHNAME}/" -e "s/\${BUILD_DATE}/$(date --iso-8601=seconds)/" run.py @@ -74,8 +76,10 @@ jobs: matrix: Python27: python.version: '2.7' + pyinstaller.version: 'pyinstaller==3.6' Python37: python.version: '3.7' + pyinstaller.version: 'pyinstaller' maxParallel: 4 steps: @@ -87,7 +91,7 @@ jobs: - script: python -m pip install --upgrade pip displayName: 'Install dependencies' - - script: pip install pyinstaller==3.6 + - script: pip install $(pyinstaller.version) name: 'pyinstaller' - bash: sed -i.temp -e "s/\${BUILD_SOURCEBRANCHNAME}/${BUILD_SOURCEBRANCHNAME}/" -e "s/\${BUILD_DATE}/$(date --iso-8601=seconds)/" run.py