Hi Frans,

I am glad you couldn't resist. :-)

I managed to get some time to test this out on Windows and what you
saw with the sample I provided yesterday on Windows I was also able to
see. The hook you provided worked as is so I have checked it in to
Subversion trunk. The other fix you made is no longer necessary -- I
solved it a different way a while ago but haven't had a chance to
produce a new release yet. I hope to rectify that shortly!

Anthony

On Thu, Jul 15, 2010 at 1:52 PM, F.A.Pinkse <fapin...@gmail.com> wrote:
> Hi Anthony,
>
> I could not resist to hunt this down.
> I patched the following location, a simple single line.
>
> In class Freezer
>
>    def Freeze
>        ......
>        ......
>        self.includeFiles += self.finder.includeFiles            #patch
>        for sourceFileName, targetFileName in self.includeFiles:
>
> maybe you will find a better location or method.
> I only tested this on the build and on the PyQt4/phonon hook.
> I also teste the buildoptions and hook together.
>
> I did not test the other options and modes of cx_freeze.
>
> Here is my PyQt4.phonon hook for windows/python3/PyQt4
>
> def load_PyQt4_phonon(finder, module):
>     """In win32 phonon4.dll requires an additional dll, phonon_ds94.dll
>     to be prexent in the build directory inside a folder phonon_backend"""
>     if sys.platform == "win32":
>         dir = os.path.join(module.parent.path[0], "plugins\phonon_backend")
>         finder.IncludeFiles(dir, "phonon_backend")
>
>
>
>
> With best regards
>
>
> Frans.
> Op 7/15/2010 6:16 AM, Anthony Tuininga schreef:
>> Hi,
>>
>> I tried your code on my Linux box at home and ran into problems. It
>> claimed to play the file but really didn't. So I tried this example
>> instead:
>>
>> http://techbase.kde.org/Development/Tutorials/Phonon/Introduction/Python
>>
>> That one works fine. I then froze it and it worked just fine, too,
>> without the need for any hooks. Can you try that sample yourself and
>> confirm whether or not it works for you? It looks like you are using
>> Windows so perhaps I'll have to give it a try on that platform as well
>> but it would be good to know whether the sample does/does not work for
>> you first. One way or the other we'll get it to work for you. :-)
>>
>> Anthony
>>
>>cx-freeze-users
>>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> cx-freeze-users mailing list
> cx-freeze-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to