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
importosfromsetuptoolsimportsetup# If not set possibly could result in a blank window issueos.environ['MACOSX_DEPLOYMENT_TARGET'] ="10.9"APP_VERSION='1.0.0'OPTIONS= {
'packages' : ['cefpython3', 'objc', 'json', 'urllib'],
# 'iconfile' : 'appicon.icns','plist' : {
'CFBundleIdentifier' : 'hello.world',
'CFBundleShortVersionString' : APP_VERSION,
'CFBundleVersion' : APP_VERSION,
}
}
setup(
name="Hello World",
app=["hello_world.py"],
data_files=[],
options={'py2app': OPTIONS},
setup_requires=['py2app']
)
CEF Python expects a certain directory structure and if py2app uses a different structure then you have to set these paths manually, for example with such code:
See https://py2app.readthedocs.io/en/latest/
Example setup.py file:
CEF Python expects a certain directory structure and if py2app uses a different structure then you have to set these paths manually, for example with such code:
See also:
The text was updated successfully, but these errors were encountered: