Skip to content

Commit

Permalink
try without excluding vips, see what happens
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin McFadden committed Apr 11, 2024
1 parent c6f65a1 commit bc998bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- os: macos-13-xlarge
TARGET: macos
CMD_BUILD: >
pyinstaller -i icon.icns --exclude-module libvips -w -n LinearStitch LS_GUI.py &&
pyinstaller -i icon.icns -w -n LinearStitch LS_GUI.py &&
cd dist/ &&
zip -r9 LinearStitchMac LinearStitch.app/
OUT_FILE_NAME: LinearStitchMac.zip
Expand All @@ -64,7 +64,7 @@ jobs:
ARCH: x64
TARGET: windows
CMD_BUILD: >
pyinstaller -i icon.icns --exclude-module libvips --add-data 'zereneTemplate.xml;.' -w -n LinearStitch LS_GUI.py &&
pyinstaller -i icon.icns --add-data 'zereneTemplate.xml;.' -w -n LinearStitch LS_GUI.py &&
cd dist/ &&
7z a LinearStitchWindows.zip -r *
OUT_FILE_NAME: LinearStitchWindows.zip
Expand Down
11 changes: 2 additions & 9 deletions LinearStitch.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(
['LS_GUI.py'],
pathex=[],
Expand All @@ -13,13 +10,10 @@ a = Analysis(
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=['libvips'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
pyz = PYZ(a.pure)

exe = EXE(
pyz,
Expand All @@ -42,7 +36,6 @@ exe = EXE(
coll = COLLECT(
exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
Expand Down

0 comments on commit bc998bc

Please sign in to comment.