Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install pyaudio for 3.7 and build win binary with 3.7 #620

Merged
merged 3 commits into from
Feb 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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