ronaldoussoren / py2app

py2app is a Python setuptools command which will allow you to make standalone Mac OS X application bundles and plugins from Python scripts.
Other
340 stars 36 forks source link

BUGFIX: copy dylibs #504

Open Tokarak opened 12 months ago

Tokarak commented 12 months ago

A rough patch copying all dylibs available in the runtime into the app. This should close most issues that #502 was intended to fix.

Tested in standalone mode, Anaconda python installation, Apple Silicon.

Reverts #315 (it never helped and only affected x86 architecture; #502 was supposed to port the fix to other architectures, and it definitely did not resolve the bug). Closes: #494 #482 #286 #472

The behaviour exhibited only fits the default standalone mode; not alias mode and probably not semi-standalone mode. It's hell to test a project where you aren't sure whether the problem is in the modified code, versioning, or an original bug, and I haven't even touched the other modes yet, so I'm hoping a maintainer will adapt this code to how it should be.