-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/31/2015 02:18 PM, Anthony Tuininga wrote:
> Do you have a test case that can be used? I can take a look and see
> what is going on.

Pacewar is one example:

http://download-mirror.savannah.gnu.org/releases/pacewar/1.6/pacewar-1.6.1-src.tar.gz

You need the SGE Game Engine, which depends on Pygame. The SGE can be
installed with pip (pip install sge-pygame). For Pygame, I used the
build for 32-bit Python 2.7 found here:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame

I suspect this problem would affect a lot of games and other programs
using Pygame, though, because Ogg Vorbis audio files are quite
commonplace. Also, looking at the previous build I linked to in a
previous message which included the necessary DLLs, and I notice a few
others (jpeg.dll, libfreetype-6.dll, libpng12-0.dll, libtiff.dll, and
zlib1.dll) which cx_Freeze does not copy over when I try to freeze the
application using the build of Pygame 1.9.2a0.

> There are better ways of "fixing" such things if cx_Freeze can't
> figure it out on its own for some reason. You can use
> --include-files to force the inclusion of certain files in the
> distribution, regardless of whether they are normally found. As
> Thomas already mentioned those DLLs may be referenced by a module
> dynamically. You can use --includes to force the inclusion of said
> modules and/or --packages to specify that an entire package should
> be included.

I'll try some of those, then.

- -- 
Julian Marchant
https://onpon4.github.io

Protect your privacy with GnuPG:
https://emailselfdefense.fsf.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJV5Lf3AAoJELP1a+89AVMCx5AIAIP1PkvtxjB0PQJWQOS4SLE5
gKXQPZ6Bdu3MRCMMdquU/dCN64vhKFPoW9gOS69w0kaU6+tnbwzU+k1pDOO5waG2
/1/oS2+dk+61Nq1yzJHf88lOdQsIZBVTmXDX7gARp1XnVa0pEO5rshTbtQ8VnMoG
SFEeXOdRx+LfbsurBVsHgrR293V5H+7ZxFmli0dLMcOf6lZoc8ZMkdnEHYfX5HE5
58SQZbz7EymZKRJlZ0/iabUcEWJHH5gPqxpyTpiJ54J2Dak2ofG+kHFmw6IrpvG7
nRvncQ0WTx/E8faeOg3xGW3juYp91qtWh8HAzZ2R3OejZkMAwDk3g1h67qwTLb0=
=duM2
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to