Distributing Python-programs to Ubuntu users

Olof Bjarnason olof.bjarnason at gmail.com
Fri Sep 25 17:14:29 EDT 2009


2009/9/25 Paul Boddie <paul at boddie.org.uk>:
> On 25 Sep, 13:21, Olof Bjarnason <olof.bjarna... at gmail.com> wrote:
>>
>> I am thinking of two target audiences:
>>
>> 1. Early adopters/beta-testers. This would include:
>>   - my non-computer-geek brother on a windows-machine. I'll go for py2exe.
>>   - any non-geek visiting my blog using windows (py2exe)
>
> I'd really like to hear of any positive experiences making installers
> involving PyGame for any system, but especially for Windows using
> cross-compilation of Python and library dependencies from non-Windows
> systems with tools such as gcc for mingw32.

I'm using VirtualBox+WinXP on my Ubuntu development computer. Good
enough for me..

>
>>   - any geeks visiting my blog that use Ubuntu (tell them about the PPA-system)
>>   - any geeks visiting my blog that are non-Ubuntu (i'll just provide
>> the source code and tell them to apt-get python-pygame)
>
> Typically, applications such as games written to use PyGame can just
> run out of their distribution directory if that's good enough. You can
> go to all kinds of lengths to make the game comply with packaging
> standards and appear in the desktop menus - the latter is actually
> quite easy within the Debian packaging infrastructure once you know
> how - but it's not really necessary.

So what approach do you suggest? I've gotten as far as understanding
how to add menu-items to the Ubuntu menus, simple .desktop file format
to do that.

One could "cheat" and write an install.sh script that adds the
appropriate menu item, sudo-apt-gets the PyGame dependency (python is
there by default in Ubuntu). The menu item could point to the download
directory simply..

>
> Paul
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
twitter.com/olofb
olofb.wordpress.com
olofb.wordpress.com/tag/english



More information about the Python-list mailing list