Skip to content

Commit

Permalink
install pyaudio for 3.7 and build win binary with 3.7 (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
jopohl authored Feb 24, 2019
1 parent 9ef4d1a commit c252616
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions data/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,22 +128,24 @@ jobs:
- script: |
pip install --upgrade wheel twine six appdirs packaging setuptools pyinstaller pywin32
pip install "pyaudio; python_version < '3.7'"
pip install "https://dl.dropboxusercontent.com/s/ev5gnc0y3u4850y/PyAudio-0.2.11-cp37-cp37m-win_amd64.whl; python_version == '3.7'"
pip install "https://dl.dropboxusercontent.com/s/8dklxnowwn7jxou/PyAudio-0.2.11-cp37-cp37m-win32.whl; python_version == '3.7'"
python -c "import tempfile, os; open(os.path.join(tempfile.gettempdir(), 'urh_releasing'), 'w').close()"
displayName: "Install build dependencies"
- script: python setup.py bdist_wheel
displayName: "Build python wheel"

- script: python data/pyinstaller_helper.py
condition: eq(variables['python.version'], '3.6')
condition: eq(variables['python.version'], '3.7')
displayName: "Run PyInstaller"

- script: |
choco install innosetup
python src/urh/version.py > C:\urh_version.txt
set /p URHVERSION=<C:\urh_version.txt
iscc /dMyAppVersion=%URHVERSION% /dArch=$(python.arch) data/inno.iss
condition: eq(variables['python.version'], '3.6')
condition: eq(variables['python.version'], '3.7')
displayName: "Create setup.exe"
- task: PublishBuildArtifacts@1
Expand Down

0 comments on commit c252616

Please sign in to comment.