Skip to content

Commit 0f8e42e

Browse files
authored
Merge pull request #258 from parkpow/mac-installer-fix
Mac installer build fix
2 parents 1949436 + c27a81b commit 0f8e42e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/installers.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,9 @@ jobs:
6060
- name: Build Installer
6161
run: |
6262
cd docker/platerec_installer
63-
pip install -r requirements.txt pyinstaller==4.9
64-
pyinstaller platerec_installer.spec -F
63+
pip install --upgrade pip
64+
pip install -r requirements.txt pyinstaller==6.15.0
65+
pyinstaller platerec_installer.spec
6566
chmod -R +x dist
6667
- uses: actions/upload-artifact@v4
6768
with:

docker/platerec_installer/platerec_installer.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ elif sys.platform == 'linux':
1616
site_packages = '/root/.pyenv/versions/3.7.5/lib/python3.7/site-packages/'
1717
pathex = ['/src']
1818
else: # MacOs on GH Actions
19-
site_packages = '/Users/runner/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/site-packages/'
19+
site_packages = __import__('sysconfig').get_path('purelib') + '/'
2020
pathex = [os.path.abspath(SPECPATH)]
2121

2222
a = Analysis( # noqa

0 commit comments

Comments
 (0)