guetzli-recursively-gui/.eggs/py2app-0.12-py3.6.egg/py2app/recipes/wx.py

21 lines
559 B
Python
Raw Normal View History

2017-04-20 00:57:59 +02:00
def check(cmd, mf):
# wx.lib.pubsub tries to be too smart w.r.t.
# the __path__ it uses, include all of it when
# found.
m = mf.findNode('wx.lib.pubsub')
if m is None or m.filename is None:
return None
include_packages = [
'wx.lib.pubsub.*',
'wx.lib.pubsub.core.*',
'wx.lib.pubsub.core.arg1.*',
'wx.lib.pubsub.core.kwargs.*',
'wx.lib.pubsub.pubsub1.*',
'wx.lib.pubsub.pubsub2.*',
'wx.lib.pubsub.utils.*',
]
return dict(
includes = include_packages
)