November 30, 2004
Python 2.4 final

Python 2.4 final is out. A big thank you to Guido and the Python-dev team.

(See also my comments on Python 2.4 release candidate 1).

One with Python 2.4 is one I only discovered after having a go with release candidate 1 - extensions.

Python is build using Visual Studio on Windows. Python 2.3 and prior versions (at least as far back as Python 1.5.2) were build using Visual C++ version 6, so I was able to use distutils to build all my extensions. Python 2.4 is build with Visual C++ version 7.1, which I don't have, so it's not quite so easy. (Since I'm the one telling everyone around the office that we shouldn't go near .NET, I'm hardly in a position to ask for a copy!)

It is possible to build Python 2.4 extension using free (as in beer) tools from Microsoft - see Python 2.4 Extensions w/ the MS Toolkit Compiler - but I've not had the time to download (at least 380 MB!) and install everything that's required as yet. In particular, I can't find anywhere to download the .NET Runtime.

Still, I'm sure pre-built binaries will be available soon enough.

Posted to Python by Simon Brunning at November 30, 2004 12:52 PM
Comments

According to the Visual C++ Toolkit page (http://msdn.microsoft.com/visualc/vctoolkit2003/), it includes the .Net framework (note item 3) -

What does the Visual C++ Toolkit install on my machine?
The Toolkit installs (1) the Visual C++ command-line compiler and linker, and their dependencies, (2) the Visual C++ C Runtime Library and static-link modules, and the Standard C++ Library, including STL, (3) the Microsoft .NET Framework Runtime, including library files necessary for building C++ applications that run on the .NET Common Language Runtime, and (4) four samples demonstrating key features of the Visual C++ compiler and libraries.

HTH...

Posted by: Stuart Dootson on November 30, 2004 01:30 PM

Ah, thanks. Then I *have* downloaded it all - it's just a matter of installing it.

Posted by: Simon Brunning on November 30, 2004 02:03 PM

I think the .net runtime is available as part of windows update. But before you go breaking your machine with that, try downloading the 'redistributable' from this location:

http://msdn.microsoft.com/netframework/downloads/updates/default.aspx

jez.

P.S. Nothing wrong with .net (on the client) as this article shows... http://www.jroller.com/page/osbald/?anchor=j2se_5_0_and_winlaf

Posted by: jez on November 30, 2004 02:16 PM

Insert obligatory Macs and Linux don't have that problem statement of the bleeding obvious here.

Posted by: Andy Todd on November 30, 2004 10:14 PM

Some helpful hints here: http://rubygarden.org/ruby?WindowsCompiler

Now, if only the CDT (Eclipse) folks would be nicer about integrating it.

Regards,

Dan

Posted by: Daniel Berger on December 2, 2004 06:21 AM

You can also use MinGW (another free compiler) with python 2.4 and distutils. I spent a bit of effort to make that work.

Posted by: Scott David Daniels on December 2, 2004 05:02 PM

cygwin (http://www.cygwin.com/) can also help in this regard. Then you can use the cygwin python packages, or source, gcc, and distutils. I can't test this anymore thought, because I don't have a windows box anymore.

Posted by: Chris De Vries on December 6, 2004 08:18 PM
Post a comment
Name:


Email Address:


URL:



Comments:


Remember info?