mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
attempt with standalone build for adding pyaudio to bundle
This commit is contained in:
parent
dba7f63de8
commit
0803f3e24a
28
.github/workflows/build_multiplatform.yml
vendored
28
.github/workflows/build_multiplatform.yml
vendored
|
@ -254,6 +254,7 @@ jobs:
|
|||
pip install numpy
|
||||
pip install structlog
|
||||
pip install colorama
|
||||
pip install pyaudio
|
||||
pip install sounddevice
|
||||
# curl.exe --output PyAudio-0.2.11-cp39-cp39-win_amd64.whl --url https://download.lfd.uci.edu/pythonlibs/y2rycu7g/PyAudio-0.2.11-cp39-cp39-win_amd64.whl
|
||||
# pip install PyAudio-0.2.11-cp39-cp39-win_amd64.whl
|
||||
|
@ -261,11 +262,11 @@ jobs:
|
|||
pip install ordered-set
|
||||
|
||||
|
||||
- name: Install Pyaudio Windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
working-directory: tnc/lib/pyaudio/windows
|
||||
run: |
|
||||
pip install PyAudio-0.2.11-cp39-cp39-win_amd64.whl
|
||||
#- name: Install Pyaudio Windows
|
||||
#if: matrix.os == 'windows-latest'
|
||||
#working-directory: tnc/lib/pyaudio/windows
|
||||
#run: |
|
||||
# pip install PyAudio-0.2.11-cp39-cp39-win_amd64.whl
|
||||
|
||||
- name: Display structure of downloaded files
|
||||
run: ls -R
|
||||
|
@ -293,8 +294,8 @@ jobs:
|
|||
working-directory: tnc
|
||||
run: |
|
||||
#pyinstaller freedata.spec
|
||||
python3 -m nuitka --enable-plugin=numpy --assume-yes-for-downloads --onefile daemon.py -o ${{ matrix.daemon_binary_name }}
|
||||
python3 -m nuitka --enable-plugin=numpy --assume-yes-for-downloads --onefile main.py -o ${{ matrix.tnc_binary_name }}
|
||||
python3 -m nuitka --enable-plugin=numpy --assume-yes-for-downloads --standalone daemon.py -o ${{ matrix.daemon_binary_name }}
|
||||
python3 -m nuitka --enable-plugin=numpy --assume-yes-for-downloads --standalone main.py -o ${{ matrix.tnc_binary_name }}
|
||||
|
||||
|
||||
- name: Copy binaries
|
||||
|
@ -302,15 +303,10 @@ jobs:
|
|||
run: |
|
||||
mkdir dist
|
||||
ls -R
|
||||
cp ${{ matrix.daemon_binary_name }} dist/
|
||||
cp ${{ matrix.tnc_binary_name }} dist/
|
||||
|
||||
|
||||
- name: Install Pyaudio Windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
working-directory: tnc/lib/pyaudio/windows
|
||||
run: |
|
||||
pip install PyAudio-0.2.11-cp39-cp39-win_amd64.whl
|
||||
#cp ${{ matrix.daemon_binary_name }} dist/
|
||||
#cp ${{ matrix.tnc_binary_name }} dist/
|
||||
cp -r freedata-daemon.dist/ dist/
|
||||
cp -r freedata-tnc.dist/ dist/
|
||||
|
||||
- name: LIST ALL FILES
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue