https://github.com/pyinstaller/pyinstaller/pull/15

On Thu, Jun 21, 2012 at 8:02 PM, Daniel Hyams <[email protected]> wrote:

> I've just verified that those two hooks above work, at least with the arg1
> variation of pubsub.  I'll test with the kwarg variation, and then put up a
> pull request.
>
>
> On Thu, Jun 21, 2012 at 7:35 PM, Tom Tijerina <[email protected]>wrote:
>
>> Sorry I'm at work now and its taken me awhile to get some spare time. I
>> literally just added his files from above with my other hook files and then
>> ran from command:
>> python
>> pyinstaller.py "path/to/files/1" "path/to/files/2" "path/to/files/3"
>>
>> So I'm thinking for this the fix is Daniels hook files. =)
>>
>> Now I am still having issues with other parts that I don't have the time
>> to tend to currently, but when I do I'll let you know if its working as a
>> whole or not.
>>
>>
>> On Thu, Jun 21, 2012 at 6:40 PM, Daniel Hyams <[email protected]> wrote:
>>
>>> 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.
>>>
>>
>>  --
>> 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]
>



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