[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Updates to distutils building
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Updates to distutils building
- From: "René Dudfield" <renesd@xxxxxxxxx>
- Date: Sun, 2 Sep 2007 08:40:07 +1000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 01 Sep 2007 18:40:17 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=izYMMQzmhuIwQUbCBNCTUUMpA71SuCQ5CaNwG66ij4x6C30dtrAcUHa+qDTSS/u8FZOx6ZKyVXC5ugL8z8tKrYhJqGWgRtXBVcfsky85sK+diQF03E9Y2IH3GAqH9hL36hfU9M2KzmO24Eg+K7K960usOch4A5XzsLcmHxCKxxE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=anUZOaF9PWnZE+G4Lps7PmgjLuZGY1QIKz16tZAW/5SJmA/wB1w/nCQF8KDPKY2kMCeI+oVe1zwQsOkoUwKiCl27HEMyS+h8GA3pRCJ4b1fUM1DJj9uDM/WiZ/JoPr9W9l07YoJ3GS7FdJVeuq0oXS+VbxqcGpFrWPC0A0UHglM=
- In-reply-to: <46D9DB6F.6030607@xxxxxxxxx>
- References: <46D9DB6F.6030607@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Nice one.
One big patch would be good :)
On 9/2/07, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
> I have made some Windows upgrades to setup.py and related scripts.
> Originally I set out to just get Pygame to compile under MSYS. This
> involved two changes to config_msys.py and config.py: replacing os.popen
> with subprocess.Popen so that shell scripts would run, and fixing calls
> to raw_input so the prompt would display on the MSYS console. But I have
> gone further.
>
> The paths written to Setup in an MSYS build are now Windows paths.
> distutils does not execute commands with sh.exe.
>
> The hard coded DLL file paths in setup.py are replaced with proper
> searches done by config_msys.py and config_win.py. The paths are written
> to Setup. Now setup.py is VC/MinGW agnostic.
>
> Numeric is removed from setup.in and the various config_*.py modules. It
> is unnecessary when the Numeric header files are included with the
> Pygame code.
>
> So should I submit these changes? If so, should it be as one single
> patch, or several smaller ones? I have compiled and installed Pygame for
> Pythons 2.4 and 2.5 using MinGW. I also confirmed config_win.py found
> all the dependency directories I used. I will do some further unit testing.
>
> --
> Lenard Lindstrom
> <len-l@xxxxxxxxx>
>
>