I think that the fix that I have a couple of posts up (a modification to
wx.lib.pubsub.core hook, and the addition of a "setuparg1" hook) works.
 However, it is a horrible kludge, because it sets a variable in the sys
module...in effect setting a global flag if the importing of setuparg1 is
done at any point.  I thought that there might be a better way in
pyinstaller of recording that the setuparg1 module had been imported.

basically the procedure is:
  1) watch for the import wx.lib.pubsub.setuparg1, setting a flag if it is.
  2) when wx.lib.pubsub.core is later imported, add the appropriate path
(either arg1 or kwargs) depending on the flag above.

If I get some time (hard to come by right now), I will add test cases to
pyinstaller and test this out on toy cases.  I know that my application is
working just fine using wxpython's pubsub, but my fear is that I've
forgotten some other tweak that I made, because it has been a while since I
did it.



On Thu, Jun 21, 2012 at 5:16 PM, Martin Zibricky <[email protected]>wrote:

> Tom Tijerina píše v Čt 21. 06. 2012 v 16:28 -0400:
> >
> > Thanks so much for your help! If you are the blind leader, you have at
> > least traveled the road enough times to remember the path :)
>
> Could anyone please summarize how should be the proper fix in
> PyInstaller?
>
> --
> 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.
>
>


-- 
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.

Reply via email to