[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Stand-alone executables
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Stand-alone executables
- From: Phil Hassey <philhassey@xxxxxxxxx>
- Date: Mon, 19 Feb 2007 21:00:49 -0800 (PST)
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Tue, 20 Feb 2007 00:01:07 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=i67b+4oOi2B2hlsJnj9K8Ox68xvSxv4fTRvQiRKU9Z9OCpXzEyv12CjqBwXrE3GC9IjV0OcJDMXIXqAKhfwDFTONxAom4SI2DxfxRT5KRJVTrj8pkvR+KJ8Hk9J++HFrPTs/HJXVMR8ehEwSu/cH1qKvJEG3oU7XEf4m3kZZTNU=;
- In-reply-to: <201518.14457.qm@web50108.mail.yahoo.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hey,
For Galcon http://www.imitationpickles.org/galcon/ I used these:
Win32: py2exe + inno setup + istool = a win32 installer
MacOSX: py2app + diskutility = a mac .dmg "disk" that includes a app that you can drag into your Applications folder
Linux: cx_freeze + tar = a good old .tgz with stuff in it
To use those apps, you'll need access to a target system of each OS to build the binary package. They all take a bit of fooling around with to get working, but they all work pretty well. I've had no trouble with py2exe and py2app. cx_freeze is a bit trickier, because different distributions come in 32bit vs 64bit libraries, etc... I only package Galcon for 32 bit linux, and that seems to work for the 80%.
You'll want to first get your project working with a distutils setup script and building source distributions:
python setup.py sdist
After that you can work with each of those os-specific solutions to get it
working.
Later,
Phil
Matthieu TC <matthieutc@xxxxxxxxx> wrote: To make stand-alone executables, I use py2exe on windows, and cxFreeze on linux.
http://www.py2exe.org/
-matt
----- Original Message ----
From: Daniel McNeese
To: pygame-users@xxxxxxxx
Sent: Monday, February 19, 2007 9:17:38 PM
Subject: [pygame] Stand-alone executables
Okay, I have an alpha and I'm ready to distribute it for cross-platform
testing. But I'm having some trouble finding details on how to make stand-
alone files. How to I make a stand-alone executable that will run on all the
platforms covered by pygame?
I'm using nothing but pygame and python's built-in features, if that matters.
Again, I'm running Windows XP, python 2.4.4 and pygame
1.7.1.
Want to start your own business? Learn how on Yahoo! Small Business.