installer debug

This commit is contained in:
phernandez
2025-02-14 16:54:37 -06:00
parent 10b2e91e34
commit 64430b850e
2 changed files with 29 additions and 28 deletions
+21 -26
View File
@@ -73,40 +73,35 @@ jobs:
run: |
uv venv
- name: Install dependencies
- name: Check library paths
run: |
uv pip install -e .[dev]
- name: Build macOS installer
run: |
# Debug info
echo "Environment Info:"
uv pip list
python --version
which uv
which python
ls -la $(dirname $(which python))
echo "PYTHONPATH=$PYTHONPATH"
otool -L installer/build/Basic\ Memory\ Installer.app/Contents/MacOS/Basic\ Memory\ Installer
otool -l installer/build/Basic\ Memory\ Installer.app/Contents/MacOS/Basic\ Memory\ Installer
# Build
make installer-mac
#xattr -dr com.apple.quarantine "installer/build/Basic Memory Installer.app"
- name: Inspect build
run: |
echo "Build structure:"
ls -la installer/build/Basic\ Memory\ Installer.app/Contents/MacOS/
# - name: Zip macOS installer
# run: |
# cd installer/build
# zip -ry "Basic-Memory-Installer-${{ needs.release.outputs.tag }}.zip" "Basic Memory Installer.app"
# - name: Zip macOS installer
# run: |
# cd installer/build
# zip -ry "Basic-Memory-Installer-${{ needs.release.outputs.tag }}.zip" "Basic Memory Installer.app"
#
# - name: Upload macOS installer
# uses: softprops/action-gh-release@v1
# with:
# files: installer/build/Basic-Memory-Installer-${{ needs.release.outputs.tag }}.zip
# tag_name: ${{ needs.release.outputs.tag }}
# token: ${{ secrets.GITHUB_TOKEN }}
- name: Zip macOS installer
run: |
cd installer/build
zip -ry "Basic-Memory-Installer.zip" "Basic Memory Installer.app"
- name: Upload macOS installer
uses: softprops/action-gh-release@v1
with:
#files: installer/build/Basic-Memory-Installer-${{ needs.release.outputs.tag }}.zip
files: installer/build/*
tag_name: ${{ needs.release.outputs.tag }}
token: ${{ secrets.GITHUB_TOKEN }}
files: installer/build/Basic-Memory-Installer.zip
token: ${{ secrets.GITHUB_TOKEN }}
+8 -2
View File
@@ -4,7 +4,11 @@ import sys
# Build options for all platforms
build_exe_options = {
"packages": ["json", "pathlib"],
"excludes": [],
"excludes": [
"unittest",
"pydoc",
"test"
],
}
# Platform-specific options
@@ -35,7 +39,9 @@ setup(
"build_exe": build_exe_options,
"bdist_mac": {
"bundle_name": "Basic Memory Installer",
"iconfile": "Basic.icns"
"iconfile": "Basic.icns",
"codesign_identity": "-", # Force ad-hoc signing
"codesign_allocate": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate"
}
},
executables=executables,