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

qualify Distribution by module name pkg_resources #519

Open MAKOMO opened 6 months ago

MAKOMO commented 6 months ago

The seems to be a typo in recipes/setuptools.py quite for a while which results in

File /Applications/MyApp.app/Contents/Resources/__boot__.py", line 233, in find_eggs_in_zip
  yield Distribution.from_filename(path_item, metadata=metadata)
           ^^^^^^^^^
NameError: name 'Distribution' is not defined
2024-02-08 20:03:56.471 MyApp[63203:14701403] Launch error 
See the py2app website for debugging launch issues