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 <rayman3...@gmail.com> 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_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 fonts used in the game). Anybody would mind trying my
> Linux build (a Post Compo release of my Ludum Dare entry)?
> https://dl.dropboxusercontent.com/u/8347940/A%20Scholar%20In%20The%20Woods%20-%20Post%20Compo%20-%20Linux.tar.gz
>
> Thanks again in anycase, it was really helpful!
>
> Le lundi 13 mai 2013 11:02:51 UTC+2, Thomas Kluyver a écrit :
>
>> On 13 May 2013 00:32, Kevin Locoh <rayma...@gmail.com> 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: the game frozen with cx_Freeze would
>>> probably crash with a "module not found" message on another platform. Am I
>>> mistaken anywhere? I somehow hope so, it'd much easier for me to keep
>>> cx_Freeze which already works with Python 3.
>>
>>
>> It's supposed to include all the libraries that the program needs to run,
>> but not standard system libraries like libc. It might not be detecting SDL
>> as a dependency, or it might be misclassifying it as a system library.
>> Either way, you can force it to include a library with the include_files
>> option (see docs at [1]).
>>
>> If there's a simple way to get it working, you can contribute a hook for
>> pygame to include files that the automatic detection misses.
>>
>> [1] 
>> http://cx_freeze.readthedocs.**org/en/latest/distutils.html<http://cx_freeze.readthedocs.org/en/latest/distutils.html>
>>
>> Best wishes,
>> Thomas
>>
>

Reply via email to