Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a51b770

Browse files
bittnercool-RR
authored andcommitted
Install wxPython to make built binaries work
1 parent 0d5d8fa commit a51b770

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
- uses: actions/setup-python@v2
1717
- run: sudo apt-get install libsdl2-2.0-0
1818
- run: python -m pip install pyinstaller
19+
- run: python -m pip install --find-links ${WHEELS} wxPython
20+
env:
21+
WHEELS: https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04
1922
- run: python setup.py clean bundle
2023
- uses: actions/upload-artifact@v2
2124
with:
@@ -27,7 +30,7 @@ jobs:
2730
steps:
2831
- uses: actions/checkout@v2
2932
- uses: actions/setup-python@v2
30-
- run: python -m pip install pyinstaller
33+
- run: python -m pip install pyinstaller wxPython
3134
- run: python setup.py clean bundle
3235
- run: rm ${{ github.workspace }}/dist/PythonTurtle
3336
- uses: actions/upload-artifact@v2
@@ -40,7 +43,7 @@ jobs:
4043
steps:
4144
- uses: actions/checkout@v2
4245
- uses: actions/setup-python@v2
43-
- run: python -m pip install pyinstaller
46+
- run: python -m pip install pyinstaller wxPython
4447
- run: python setup.py clean bundle
4548
- uses: actions/upload-artifact@v2
4649
with:

0 commit comments

Comments
 (0)