Pyinstaller devs: This is to summarize the status of packing pubsub as included with wxpython. Some of this will be a repeat of what Sebastian has said, but I thought that a summary + recommendation might help. This is in relation to this ticket: http://www.pyinstaller.org/ticket/312<http://www.google.com/url?sa=D&q=http://www.pyinstaller.org/ticket/312&usg=AFQjCNElYY_-aJCnb6M6dOyTj97UgdujaA>
First, about pubsub. It ships with two versions of an API (v1 and v3). You get v1 by importing like: from wx.lib.pubsub import Publisher or from wx.lib.pubsub import setupv1 from wx.lib.pubsub import Publisher And you get v3 by from wx.lib.pubsub import setuparg1 from wx.lib.pubsub import pub or from wx.lib.pubsub import setupkwargs from wx.lib.pubsub import pub With the hooks and buildtests given in http://groups.google.com/group/pyinstaller/msg/2d3f4d9fc6f66546, both variations of v3 api work (verified by both Sebastian and I), which is a definite step forward. The v1 api does not work, due to some barriers that I'm not sure are fixable. Personally, I recommend that these files be incorporated into pyinstaller. Partially working is better than not at all. Although having the v1 api work would be nice (and I'll continue to work with it, because I hate to admit defeat), I'm not sure that it is really worth pursuing. The v3 api's are what people should be using anyway, and converting from v1 to v3 api in any code that uses pubsub is less than an hour's work even on a very large code. I've easily spent more than that amount of time on the v1 api alone :) -- Daniel Hyams [email protected] -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
