Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Florian Diesch
Ben Finney writes: > Olof Bjarnason writes: > >> - any geeks visiting my blog that are non-Ubuntu (i'll just provide >> the source code and tell them to apt-get python-pygame) > > Note that for several years now the recommended command-line tool for > package installation is not ‘apt-get’, but

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Paul Boddie
On 25 Sep, 23:14, Olof Bjarnason wrote: > > 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. Yes, xdg-desktop-menu will probably do the trick. > One could "cheat" and write an install.sh sc

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Olof Bjarnason
2009/9/25 Paul Boddie : > On 25 Sep, 13:21, Olof Bjarnason 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

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Paul Boddie
On 25 Sep, 13:21, Olof Bjarnason 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 hea

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Daniel S. Braz
Yes, it work with any command that you can run on a shell. You could write a shell script to "tell" to checkinstall what to do with your program. I used to use it with java programs. I will send to your e-mail a simple sample script, so you will see how it's work. (sorry for my -- very -- b

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Olof Bjarnason
2009/9/25 Daniel S. Braz : > Hi, > > To create a .deb file you may use checkinstall, it's very simple and work > very well. Hi Daniel, >From what I gather browsing the web abount checkinstall, it seems to be built with "make install" in mind. Does it work with "python setup.py install" too? > >

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Daniel S. Braz
Hi, To create a .deb file you may use checkinstall, it's very simple and work very well. Em 25/09/2009, às 03:15, Olof Bjarnason escreveu: Hi! I write small games in Python/PyGame. I want to find a way to make a downloadable package/installer/script to put on my webpage, especially for Ubu

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Paul Rudin
Ben Finney writes: > Olof Bjarnason writes: > >> Most tutorials on the web still (I've read mostly Ubuntu-related >> forums) mention apt-get; seems like an error? > > Not quite an error (since ‘apt-get’ continues to work), just habit of > old-timers, and cargo-cult administration by newcomers.

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Ben Finney
Olof Bjarnason writes: > Most tutorials on the web still (I've read mostly Ubuntu-related > forums) mention apt-get; seems like an error? Not quite an error (since ‘apt-get’ continues to work), just habit of old-timers, and cargo-cult administration by newcomers. -- \“Science

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Olof Bjarnason
2009/9/25 Ben Finney : > Olof Bjarnason writes: > >>   - any geeks visiting my blog that are non-Ubuntu (i'll just provide >> the source code and tell them to apt-get python-pygame) > > Note that for several years now the recommended command-line tool for > package installation is not ‘apt-get’, b

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Ben Finney
Olof Bjarnason writes: > - any geeks visiting my blog that are non-Ubuntu (i'll just provide > the source code and tell them to apt-get python-pygame) Note that for several years now the recommended command-line tool for package installation is not ‘apt-get’, but ‘aptitude’ [0]. Compatible com

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Olof Bjarnason
2009/9/25 Paul Boddie : > On 25 Sep, 09:26, Donn wrote: >> >> You could use distutils (setup.py) and include a readme that explains what >> apt-get commands to use to install pygame, etc. Generally it's better to >> *not* >> include the kitchen-sink with your apps; rather expect the user to have

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Paul Boddie
On 25 Sep, 09:26, Donn wrote: > > You could use distutils (setup.py) and include a readme that explains what > apt-get commands to use to install pygame, etc. Generally it's better to *not* > include the kitchen-sink with your apps; rather expect the user to have those > libraries already or be ab

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Olof Bjarnason
2009/9/25 Paul Boddie : > On 25 Sep, 08:15, Olof Bjarnason wrote: >> Hi! >> >> I write small games in Python/PyGame. I want to find a way to make a >> downloadable package/installer/script to put on my webpage, especially >> for Ubuntu users. >> >> I've skimmed a couple of tutorials on how to gene

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Paul Boddie
On 25 Sep, 08:15, Olof Bjarnason wrote: > Hi! > > I write small games in Python/PyGame. I want to find a way to make a > downloadable package/installer/script to put on my webpage, especially > for Ubuntu users. > > I've skimmed a couple of tutorials on how to generate .deb-files, but, > wow, it's

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Ben Finney
Olof Bjarnason writes: > I write small games in Python/PyGame. I want to find a way to make a > downloadable package/installer/script to put on my webpage, especially > for Ubuntu users. As a program developer, you should be less concerned with the specifics of any particular distribution, and a

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Olof Bjarnason
2009/9/25 Jean Daniel : > Maybe the distutils list is more adapted for this question: Yes > > The Zope community uses zc.sourcerelease to build rpm > http://www.mail-archive.com/distutils-...@python.org/msg06599.html > > Buildout is said to have undocumented features to build packages. > > Tarek

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Jean Daniel
Maybe the distutils list is more adapted for this question: The Zope community uses zc.sourcerelease to build rpm http://www.mail-archive.com/distutils-...@python.org/msg06599.html Buildout is said to have undocumented features to build packages. Tarek Ziade is working debian package with 'distr

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Donn
On Friday 25 September 2009 08:15:18 Olof Bjarnason wrote: > Does anyone have any hint on a more economic way of creating > single-file distribution packages You could use distutils (setup.py) and include a readme that explains what apt-get commands to use to install pygame, etc. Generally it's be

Re: Distributing Python-programs to Ubuntu users

2009-09-25 Thread Javier Collado
Hello, I recommend you to check this: https://wiki.ubuntu.com/PackagingGuide/Complete The best way to release the software to Ubuntu users is by means of a PPA (https://help.launchpad.net/Packaging/PPA) so that people can track your application updates automatically. Before the PPA is created you