Skip to content

Commit

Permalink
Fixing no module found websockets.legacy
Browse files Browse the repository at this point in the history
  • Loading branch information
euwbah committed Aug 8, 2021
1 parent 29e74d1 commit 34077fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ py -m venv venv
.\venv\Scripts\activate
pip install --upgrade setuptools
pip install -r requirements.txt
pyinstaller -F -n microtonal-seaboard main.py &&^
pyinstaller -F --hidden-import=websockets.legacy -n microtonal-seaboard main.py &&^
cd dist/ &&^
tar -a -c -f microtonal-seaboard-windows.zip ../mappings microtonal-seaboard.exe
deactivate
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ python3 -m pip install --user virtualenv
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
pyinstaller -F -n microtonal-seaboard main.py &&\
pyinstaller -F --hidden-import=websockets.legacy -n microtonal-seaboard main.py &&\
cd dist/ &&\
zip -r9 microtonal-seaboard.zip ../mappings microtonal-seaboard
deactivate
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def intable(s):


if __name__ == '__main__':
print('microtonal seaboard retuner v0.4.1')
print('microtonal seaboard retuner v0.4.2')

has_read_configs = configs.read_configs()

Expand Down

0 comments on commit 34077fd

Please sign in to comment.