Skip to content

Commit

Permalink
build(deps): update pyinstaller to v6.6, and set contents_directory='…
Browse files Browse the repository at this point in the history
….' in aw.spec and submodules
  • Loading branch information
ErikBjare committed May 6, 2024
1 parent 98fcd71 commit 13d957f
Show file tree
Hide file tree
Showing 8 changed files with 204 additions and 158 deletions.
2 changes: 1 addition & 1 deletion aw-notify
2 changes: 1 addition & 1 deletion aw-qt
Submodule aw-qt updated 1 files
+1 −0 aw-qt.spec
2 changes: 1 addition & 1 deletion aw-server
Submodule aw-server updated 1 files
+2 −0 aw-server.spec
2 changes: 1 addition & 1 deletion aw-watcher-afk
2 changes: 1 addition & 1 deletion aw-watcher-window
20 changes: 12 additions & 8 deletions aw.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- mode: python -*-
# vi: set ft=python :

import os
import platform
import shlex
Expand Down Expand Up @@ -47,6 +48,7 @@ def build_collect(analysis, name, console=True):
strip=False,
upx=True,
console=console,
contents_directory=".",
entitlements_file=entitlements_file,
codesign_identity=codesign_identity,
)
Expand Down Expand Up @@ -149,14 +151,16 @@ aw_watcher_input_a = build_analysis("aw_watcher_input", awi_location)
aw_watcher_window_a = build_analysis(
"aw_watcher_window",
aww_location,
binaries=[
(
aww_location / "aw_watcher_window/aw-watcher-window-macos",
"aw_watcher_window",
)
]
if platform.system() == "Darwin"
else [],
binaries=(
[
(
aww_location / "aw_watcher_window/aw-watcher-window-macos",
"aw_watcher_window",
)
]
if platform.system() == "Darwin"
else []
),
datas=[
(aww_location / "aw_watcher_window/printAppStatus.jxa", "aw_watcher_window")
],
Expand Down
330 changes: 186 additions & 144 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ psutil = "*"
pywin32-ctypes = {version = "*", platform = "win32"}
pefile = {version = "*", platform = "win32"}

pyinstaller = "^5.13"
pyinstaller = "^6.6"
# releases are very infrequent, so good idea to use the master branch
# we need this unreleased commit: https://github.com/pyinstaller/pyinstaller-hooks-contrib/commit/0f40dc6e74086e5472aee75070b9077b4c17ab18
pyinstaller-hooks-contrib = {git = "https://github.com/pyinstaller/pyinstaller-hooks-contrib.git", branch="master"}
Expand Down

0 comments on commit 13d957f

Please sign in to comment.