Also tried:

* setting the PATH at the cmd prompt instead of in my Python, and then
running my program
* using absolute paths

No joy.

On Oct 27, 3:41 pm, Jonathan Hartley <[email protected]> wrote:
> I'd like to provide users with a single binary they can download and
> double-click to run, without them having to worry about which versions
> of Python they have installed, or any other dependencies.
>
> I'm finding it harder than I'd expected. Does anyone have a project
> that handles this issue well, which I could look at how you did it?
>
> I'd like to be able to deploy to Windows, Mac and Linux, although will
> settle for just Windows for the time being, since that's where most of
> the users are.
>
> In comparing the alternatives I've created this chart:
>
> http://spreadsheets.google.com/ccc?key=0AmOF8t-e3EyzdFo0MmhqYVJ1bnZrT...
>
> The columns represent methods of distributing a Python program.
> 'Bundle' & 'Bootstrap' represent two 'do it yourself' ways of bundling
> a Python interpreter to distribute with your application. The other
> columns represent the various projects out there that do the bundling
> for you, ie. py2exe, etc.
>
> In particular, my problem today is that, I'm obviously going to have
> to include binary copies of things like avbin.dll (and others too). I
> am currently doing this by putting such binary dependancies in a 'lib'
> directory of my project, and then right at the start of my program,
> adding ';lib' to PATH (on Windows) or ':lib' to LD_LIBRARY_PATH (on
> Linux). That seemed to work ok on XP, but today I'm running it on a
> friend's Vista machine and it is giving me:
>
> File "C:\Python26\lib\site-packages\pyglet\media\riff.py", line 202,
> in __init__
> pyglet.media.riff.WAVEFormatException: AVbin is required to decode
> compressed media
>
> The dll file is there. I'm printing out the resulting PATH environment
> variable, and checking that the appended directory is correct. Should
> this be different on Vista, or am I messing it up somehow?
>
> Thanks for any pointers or suggestions of what to go read.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" 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/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to