From 45716a6777135390f37ebe34a695f200b5ed28ed Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Wed, 10 Jul 2024 23:58:22 +0200 Subject: [PATCH] Update todo list --- src/py2app/_builder.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/py2app/_builder.py b/src/py2app/_builder.py index c28d90e..2f4564d 100644 --- a/src/py2app/_builder.py +++ b/src/py2app/_builder.py @@ -904,6 +904,18 @@ def build_bundle( architecture, deployment_target, warnings = audit_macho_issues(paths.root.parent) + # XXX: Validate the 'architecture': + # - Error out when 'architecture' is None (no architecture supports all Mach-O files) + # - Two options: + # - Change stub executables to match the architecture + # - Error out when architecture doesn't match *bundle.macho_arch* + # (The latter is more explicit, but will result in failures when + # using a universal build of Python with single-arch wheels, which can + # be annoying when not targeting other systems) + # (For the first option: easiest would be to move creating the stub + # executables to this point, although this requires redoing some of the + # work of _standalone) + # Set the deployment target for the launcher executables to the lowest # deployment target of Mach-O files in the bundle. # XXX: Check and document the error message for launching the bundle on