Re: [pygame] Distributing a Pygame game on Linux

2013-05-16 Thread Kevin Locoh
Ok, I've updated the build ( https://dl.dropboxusercontent.com/u/8347940/A%20Scholar%20In%20The%20Woods%20-%20Post%20Compo%20-%20Linux.tar.gz ). >From what I've seen, the problem doesn't come from cx_Freeze: libtinfo may be included in ncurses or not, depending on the distribution ( http://commun

Re: [pygame] Distributing a Pygame game on Linux

2013-05-14 Thread Thomas Kluyver
On 14 May 2013 21:34, Russell Jones wrote: > You may need to use ldd on the libraries you find by running ldd on the > binary. > cx_Freeze is actually running ldd internally to do precisely this [1]. It's just some of the later heuristics that seemingly exclude some of the required libraries. If

Re: [pygame] Distributing a Pygame game on Linux

2013-05-14 Thread Russell Jones
You may need to use ldd on the libraries you find by running ldd on the binary. Russell On 14 May 2013 14:39, Kevin Locoh wrote: > Many thanks for the feedback, I'll make a new build including the missing > library soon, probably tomorrow. There are quite probably a few other > missing libraries

Re: [pygame] Distributing a Pygame game on Linux

2013-05-14 Thread Kevin Locoh
Many thanks for the feedback, I'll make a new build including the missing library soon, probably tomorrow. There are quite probably a few other missing libraries, so I'll use the ldd command on the binary file to include them all. Kevin Le mardi 14 mai 2013 02:09:18 UTC+2, Bartosz Debski a éc

Re: [pygame] Distributing a Pygame game on Linux

2013-05-13 Thread Bartosz Debski
No dice on Slackware 14.0 64bit with 32bit env installed as well: ~/Downloads/A Scholar In The Woods - Post Compo - Linux$ ./play ./play: /lib/libcrypto.so.1.0.0: no version information available (required by /home/braqoon/Downloads/A Scholar In The Woods - Post Compo - Linux/libpython3.2mu.so.1.0

Re: [pygame] Distributing a Pygame game on Linux

2013-05-13 Thread Thomas Kluyver
Seems to be working here, though I'm also using Ubuntu, so that's not such a challenge. Best wishes, Thomas On 13 May 2013 23:49, Kevin Locoh wrote: > Thanks for the tip, I've looked into the doc and made a few searchs, and > in the end I've managed to include all dependencies using the > "bin

Re: [pygame] Distributing a Pygame game on Linux

2013-05-13 Thread Kevin Locoh
Thanks for the tip, I've looked into the doc and made a few searchs, and in the end I've managed to include all dependencies using the "bin_path_includes" property (I set the value to "/usr/lib"). "include_files" seems to be rather dedicated to data files (e.g mostly the images, sounds and font

Re: [pygame] Distributing a Pygame game on Linux

2013-05-13 Thread Thomas Kluyver
On 13 May 2013 00:32, Kevin Locoh wrote: > Oh sorry, I'd completely missed your message. Actually, it works on my > computer with Ubuntu, but I had understood that cx_Freeze doesn't include > every C extension library, in my case the SDL, which makes the tarball > quite dependent of the distro: t

Re: [pygame] Distributing a Pygame game on Linux

2013-05-12 Thread Kevin Locoh
Oh sorry, I'd completely missed your message. Actually, it works on my computer with Ubuntu, but I had understood that cx_Freeze doesn't include every C extension library, in my case the SDL, which makes the tarball quite dependent of the distro: the game frozen with cx_Freeze would probably cr

Re: [pygame] Distributing a Pygame game on Linux

2013-05-12 Thread Kevin Locoh
Thanks for your suggestions, PyInstaller seems to be perfect! But I'll have to wait a bit: it doesn't support Python 3 yet. I'll distribute the sources until then, I guess. Le dimanche 12 mai 2013 22:43:31 UTC+2, Sam Bull a écrit : > > On Sun, 2013-05-12 at 19:41 +0100, Bartosz Debski wrote: >

Re: [pygame] Distributing a Pygame game on Linux

2013-05-12 Thread Thomas Kluyver
On 12 May 2013 19:24, Kevin Locoh wrote: > I've been wondering how to best distribute a game made with Pygame on > Linux. On Windows, cx_Freeze works very well, and I assume it would be just > the same on Mac OS. But on Linux, it's perfectly useless because of the > various distros I'd have to bu

Re: [pygame] Distributing a Pygame game on Linux

2013-05-12 Thread Sam Bull
On Sun, 2013-05-12 at 19:41 +0100, Bartosz Debski wrote: > Try pyinstaller. Works for me in setup where i build binaries on > Slackware and distribute to tar packages. So far i had no complains on > other distros. I'd also recommend Pyinstaller, should work for Windows and OS X as well, so you on

Re: [pygame] Distributing a Pygame game on Linux

2013-05-12 Thread Bartosz Debski
Hi, Try pyinstaller. Works for me in setup where i build binaries on Slackware and distribute to tar packages. So far i had no complains on other distros. Hope it helps. Bart On May 12, 2013 7:24 PM, "Kevin Locoh" wrote: > Hi all, > > I've been wondering how to best distribute a game made with

[pygame] Distributing a Pygame game on Linux

2013-05-12 Thread Kevin Locoh
Hi all, I've been wondering how to best distribute a game made with Pygame on Linux. On Windows, cx_Freeze works very well, and I assume it would be just the same on Mac OS. But on Linux, it's perfectly useless because of the various distros I'd have to build the game for. I could ship a tarbal