fix: ci installer app fix #37

This commit is contained in:
phernandez
2025-02-13 22:23:40 -06:00
parent b546941779
commit 2e215fe83c
2 changed files with 6 additions and 11 deletions
+1 -3
View File
@@ -79,10 +79,8 @@ jobs:
- name: Build macOS installer
run: |
cd installer
uv venv
uv pip install -e "..[dev]"
# Use system Python paths to match local environment
PYTHONHOME=/Library/Frameworks/Python.framework/Versions/3.12 \
PYTHONPATH=/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12 \
uv run python setup.py bdist_mac
xattr -dr com.apple.quarantine "build/Basic Memory Installer.app"
+5 -8
View File
@@ -1,21 +1,18 @@
from cx_Freeze import setup, Executable
import sys
# Build options for all platforms
# Build options for all platforms - keep it simple and don't exclude too much
build_exe_options = {
"packages": ["json", "pathlib"],
"excludes": [
"tkinter",
"unittest",
"email",
"html",
"http",
"xml",
"pydoc",
"_tkinter",
"test"
],
"include_msvcr": False,
# Control file copying behavior
"copy_dependent_files": False,
"create_library_zip": True,
"copy_to_same_dir": False,
}
# Platform-specific options