File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - pyinstaller6
5+
6+
7+ jobs :
8+ build :
9+ runs-on : ' windows-latest'
10+
11+ steps :
12+ - uses : actions/checkout@v4.1.1
13+ - uses : actions/setup-python@v4.7.1
14+ with :
15+ python-version : ' 3.11'
16+
17+ - run : pip install -r requirements.txt
18+ - name : rebuild bootloader
19+ run : |
20+ pip install wheel
21+ pip uninstall -y pyinstaller
22+ git clone https://github.com/pyinstaller/pyinstaller
23+ git checkout v6.1.0
24+ cd pyinstaller
25+ cd bootloader
26+ python3 ./waf distclean all
27+ cd ..
28+ pip install .
29+ cd ..
30+ - name : compile locales
31+ run : python3 compile_languages.py locales
32+ - run : pyinstaller --log-level=DEBUG --noconfirm build-on-win.spec
33+
34+ - name : upload artifact
35+ uses : actions/upload-artifact@v3.1.3
36+ with :
37+ path : dist/*
Original file line number Diff line number Diff line change 99 runs-on : ' windows-latest'
1010
1111 steps :
12- - uses : actions/checkout@v3.5.3
13- - uses : actions/setup-python@v4.6 .1
12+ - uses : actions/checkout@v4.1.1
13+ - uses : actions/setup-python@v4.7 .1
1414 with :
15- python-version : ' 3.9 '
15+ python-version : ' 3.11 '
1616
1717 - run : pip install -r requirements.txt
1818 - name : rebuild bootloader
1919 run : |
2020 pip install wheel
2121 pip uninstall -y pyinstaller
2222 git clone https://github.com/pyinstaller/pyinstaller
23- git checkout v5.13 .0
23+ git checkout v6.1 .0
2424 cd pyinstaller
2525 cd bootloader
2626 python3 ./waf distclean all
3232 - run : pyinstaller --log-level=DEBUG --noconfirm build-on-win.spec
3333
3434 - name : upload artifact
35- uses : actions/upload-artifact@v2
35+ uses : actions/upload-artifact@v3.1.3
3636 with :
3737 path : dist/*
Original file line number Diff line number Diff line change @@ -112,6 +112,8 @@ staple.sh
112112
113113# Exclude the pyinstaller directory (if it's here)
114114pyinstaller /
115+ # Same with the cffi directory
116+ cffi /
115117
116118dist-pkg /
117119/* .pkg
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ source ./venv/bin/activate
4+
5+ git clone https://github.com/python-cffi/cffi.git
6+ cd cffi
7+ git checkout v1.16.0
8+
9+ python3 -m pip install build pytest
10+
11+ # The proper SDKROOT can be found by running `xcrun --sdk macosx --show-sdk-path` -- right now, it's 14.0
12+ MACOSX_DEPLOYMENT_TARGET=' 11.0' SDKROOT=macosx14.0 python3 -m build -w .
13+ python3 -m pip install dist/cffi-* universal2.whl --force-reinstall
14+
15+ # python3 -m pytest .
Original file line number Diff line number Diff line change 11esptool == 4.6.2
22wxPython == 4.2.1
3- # Previously PyInstaller 3.4 was used - this has security vulnerabilities per GitHub
4- PyInstaller == 5.13.0
3+ PyInstaller == 6.1.0
54requests == 2.31.0
65pyserial == 3.5
76Babel == 2.12.1 # For the command line utility so we can build the .mo files
Original file line number Diff line number Diff line change 44# application build. This is required for notarization to work on MacOS (and may prevent security warnings on Windows)
55
66# Note - this command (at least the "pip install" bit) needs to be done from within the virtualenv
7+ pip uninstall -y pyinstaller
78git clone https://github.com/pyinstaller/pyinstaller.git
89cd pyinstaller
9- git checkout v5.13
10+ git checkout v6.1.0
1011cd bootloader
1112python ./waf all
1213pip install ..
You can’t perform that action at this time.
0 commit comments