Skip to content

Commit

Permalink
fix: pyinstaller runtime SSL hooks (#707)
Browse files Browse the repository at this point in the history
* fix: remove runtime_hooks from the spec

* list archive with archive_viewer
  • Loading branch information
ptpt authored Feb 11, 2025
1 parent 3831869 commit 7348553
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mapillary_tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ a = Analysis(
binaries=[],
datas=[],
hiddenimports=[],
hookspath=["./pyinstaller/hooks"],
runtime_hooks=["./pyinstaller/runtime-hooks/ssl.py"],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
Expand Down
1 change: 1 addition & 0 deletions script/build_linux
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $SOURCE --version
VERSION=$($SOURCE --version | awk '{print $3}')
ARCH=$(uname -m)
TARGET=dist/releases/mapillary_tools-${VERSION}-${OS}-${ARCH}
pyi-archive_viewer --list "$SOURCE"

# package
mkdir -p dist/releases
Expand Down
1 change: 1 addition & 0 deletions script/build_osx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $SOURCE --version
VERSION=$($SOURCE --version | awk '{print $3}')
ARCH=$(uname -m)
TARGET=dist/releases/mapillary_tools-${VERSION}-${OS}-${ARCH}.zip
pyi-archive_viewer --list "$SOURCE"

# package
mkdir -p dist/releases
Expand Down
1 change: 1 addition & 0 deletions script/build_win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dist\win\mapillary_tools.exe --version
$VERSION_OUTPUT=dist\win\mapillary_tools.exe --version
$VERSION=$VERSION_OUTPUT.split(' ')[2]
$TARGET="dist\releases\mapillary_tools-$VERSION-$OS-$ARCH.exe"
pyi-archive_viewer --list "$SOURCE"

# package
mkdir -Force dist\releases
Expand Down

0 comments on commit 7348553

Please sign in to comment.