Thanks bryan,
I was able to include the list of files in the hook-wx.py .... but I still
could not find them in my installer package ... and neither could the
program when I run it. anyway I think this got me most of the way there I
think I just need to go to the wx group now
On Friday, 25 January 2013 13:53:57 UTC-8, Bryan Jones wrote:
>
> Oops, a typo: one line should be datas = collect_data_files('wx') instead.
>
>
> On Fri, Jan 25, 2013 at 3:49 PM, Joran Beasley
> <[email protected]<javascript:>
> > wrote:
>
>> ahh thanks :) that should help!
>>
>>
>> On Fri, Jan 25, 2013 at 1:28 PM, Bryan A. Jones
>> <[email protected]<javascript:>
>> > wrote:
>>
>>> Joran,
>>>
>>> Without looking very closely, I wrote a hook-sphinx.py which
>>> accomplishes similar things. My guess at what you need in hook-wx.py:
>>>
>>> from hookutils import collect_data_files
>>>
>>> def hook(mod):
>>> global datas
>>> datas = collect_data_files(w')
>>> return mod
>>>
>>> Hope that helps!
>>>
>>> Bryan
>>>
>>>
>>> On Fri, Jan 25, 2013 at 1:26 PM, Joran Beasley
>>> <[email protected]<javascript:>
>>> > wrote:
>>>
>>>> This is the same problem I am having .... can you expand on this
>>>> answer a little ?
>>>>
>>>> On Monday, 21 January 2013 02:46:09 UTC-8, Martin Z wrote:
>>>>>
>>>>> [email protected] píše v Pá 18. 01. 2013 v 11:32 -0800:
>>>>> > When using pyInstaller 2.0, wxPython is properly included, except
>>>>> for
>>>>> > the locale files. How can I fix this?
>>>>>
>>>>> You could look at the wx import hook and add there attribute 'datas'
>>>>> that will contain the list of data files (locale files) to bundle with
>>>>> frozen application.
>>>>>
>>>>> wxPython hook file to create:
>>>>>
>>>>> ./PyInstaller/hooks/hook-wx.py
>>>>>
>>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "PyInstaller" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected] <javascript:>.
>>>>
>>>> To post to this group, send email to [email protected]<javascript:>
>>>> .
>>>> Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Bryan A. Jones, Ph.D.
>>> Associate Professor
>>> Department of Electrical and Computer Engineering
>>> 231 Simrall / PO Box 9571
>>> Mississippi State University
>>> Mississippi state, MS 39762
>>> http://www.ece.msstate.edu/~bjones
>>> bjones AT ece DOT msstate DOT edu
>>> voice 662-325-3149
>>> fax 662-325-2298
>>>
>>> Our Master, Jesus Christ, is on his way. He'll show up right on
>>> time, his arrival guaranteed by the Blessed and Undisputed Ruler,
>>> High King, High God.
>>> - 1 Tim. 6:14b-15 (The Message)
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "PyInstaller" group.
>>> To post to this group, send email to [email protected]<javascript:>
>>> .
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:>.
>>> Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "PyInstaller" group.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>.
>> Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
> Bryan A. Jones, Ph.D.
> Associate Professor
> Department of Electrical and Computer Engineering
> 231 Simrall / PO Box 9571
> Mississippi State University
> Mississippi state, MS 39762
> http://www.ece.msstate.edu/~bjones
> bjones AT ece DOT msstate DOT edu
> voice 662-325-3149
> fax 662-325-2298
>
> Our Master, Jesus Christ, is on his way. He'll show up right on
> time, his arrival guaranteed by the Blessed and Undisputed Ruler,
> High King, High God.
> - 1 Tim. 6:14b-15 (The Message)
>
--
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].
Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.