On Sun, Jul 18, 2010 at 5:16 AM, Almar Klein <almar.kl...@gmail.com> wrote:
> Hi,
>
> First off, let me say I'm very happy with cx_freeze. Although the
> documentation could be better, I like the way it works. On top of that It's
> the only freezer that works on py3k.

Thanks. As for the documentation, I agree with you that it could be
better -- but my time is limited, unfortunately. And its a huge
improvement over the nothing that was there before version 4. :-)

> I want to distribute an application written in python 3.1 that uses the
> PyQt4 widget toolkit. I'd like to make the app available to as many people
> as possible (in binary form). I've gotten it to freeze on both windows and
> linux (I don't own a mac). In my experience the windows-frozen apps always
> work on windows machines, but I've no clue how well this works in Linux.
> Will the binaries work on *any* Linux distribution? Or only on Debian
> derived Linuxes (I'm running Linux Mint myself)?

On Linux the main issue is glibc which you need to make sure is "as
old as possible" in order to cover most of the distributions out
there. Glibc is backwards compatible but not forwards compatible so
you need to act accordingly. I generally use CentOS 5.x as that is
fairly old and covers most of the distributions in the past few years.

Generally, you need to run ldd on the executable and see what turns up
and make sure that either the shared library is "standard" and
available on all distributions, your documentation includes a
reference to this library as something that needs to be installed on
the system (not normally installed but available from standard
repositories) or is included in your package. cx_Freeze automatically
performs ldd on the executable and all Python extensions but will
ignore anything found in /lib and /usr/lib as "standard".

> Furthermore, will the application work out of the box for users running
> Gnome, KDE, etc. ? Or would they need to install some KDE or QT packages?

Should not be a problem -- again, see previous paragraph for caveats. :-)

Anthony

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to