[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Installing Pygame games



> What are people's opinion on installing Python/Pygame games? I'm currently
> looking into starting packaging of our game on Linux, and there are a few
> options for ditributing it:
> 
>   * try to package using some nice tool that creates an executable
>   * distribute a lot of .py files

regardless of what else you provide, i think its necessary to
include a source .PY distribution. there's too many platforms
to provide a binary for all.

the other good news is that python, SDL, and pygame are pretty
easy to get installed these days on most platforms. so getting
the source running isn't too much of an ordeal.

for solarwolf i set up the source using a method similar to
what you describe. put the entire game code into a subdirectory
and then have a single launching script in the directory above it.
there's no confusion as to what should be run, plus README and
other files the user may be interested are nice and easy to find,
not lost in a directory with many source files.

creating the windows executables is not too difficult, and
makes things very foolproof and transparent for the windows
users. from the average users perspective, it is no different
than a compiled native executable.

for linux, you might look at what loki has done with their
"setup" installer. http://www.lokigames.com/development/setup.php3
this is how they ship all their binary only games. as far as i
know these install the game and ALL the dependency shared libs.
this would mean the game can run on about any linux system, regardless
of what libc, libsdl, etc they have got installed. i have never
looked into this, so i don't know how easy/compex it is to create
an installable package with this? but it might be a nice place
to start?




____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org