You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using py2app to pack executables on Mac OS X, all supporting libraries (including
libchipmunk.dylib) are placed inside the application bundle, in the 'Content/Frameworks' directory.
I would suggest a modification such as the following to libload.py to account for this case:
...
if hasattr(sys, "frozen") or hasattr(sys, "importers") or hasattr(imp, "is_frozen") and
imp.is_forzen("main"):
if 'site-packages.zip' in file:
path = os.path.join(os.path.dirname(os.getcwd()), 'Frameworks')
else:
path = os.path.dirname(os.path.abspath(sys.executable))
From swiftcoder on July 07, 2008 23:04:50
When using py2app to pack executables on Mac OS X, all supporting libraries (including
libchipmunk.dylib) are placed inside the application bundle, in the 'Content/Frameworks' directory.
I would suggest a modification such as the following to libload.py to account for this case:
...
imp.is_forzen("main"):
if 'site-packages.zip' in file:
path = os.path.join(os.path.dirname(os.getcwd()), 'Frameworks')
else:
path = os.path.dirname(os.path.abspath(sys.executable))
...
Original issue: http://code.google.com/p/pymunk/issues/detail?id=6
The text was updated successfully, but these errors were encountered: