473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Building Python 2.4 extensions with the Microsoft Toolkit Compiler

I've put together a page describing how to build Python 2.4 extensions
with the free (as in beer, not libre) Microsoft Visual C++ Toolkit
compiler. So far I've been able to build Numpy 23.1, PyOpenGL 2.0.1.07,
OpenGLContext 2.0.0b2 and mxTextTools-nr against Python 2.4a1, and they
seem to be working fine. I'm very interested in other developers who
want to try building with this combination giving feedback on what needs
to be done to make the instructions clearer and/or more comprehensive.

http://members.rogers.com/mcfletch/p...ing/mstoolkit/

Have fun,
Mike

________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
blog: http://zope.vex.net/~mcfletch/plumbing/

Jul 18 '05 #1
6 1376
Mike C. Fletcher wrote:
I've put together a page describing how to build Python 2.4 extensions
with the free (as in beer, not libre) Microsoft Visual C++ Toolkit
compiler. So far I've been able to build Numpy 23.1, PyOpenGL 2.0.1.07,
OpenGLContext 2.0.0b2 and mxTextTools-nr against Python 2.4a1, and they
seem to be working fine. I'm very interested in other developers who
want to try building with this combination giving feedback on what needs
to be done to make the instructions clearer and/or more comprehensive.

http://members.rogers.com/mcfletch/p...ing/mstoolkit/

Have fun,
Mike

________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
blog: http://zope.vex.net/~mcfletch/plumbing/


'twould be nice if you did a context diff, rather than a simple diff on
the page.

--
-Scott David Daniels
Sc***********@Acm.Org
Jul 18 '05 #2
Mike C. Fletcher wrote:
I've put together a page describing how to build Python 2.4 extensions
with the free (as in beer, not libre) Microsoft Visual C++ Toolkit
compiler. So far I've been able to build Numpy 23.1, PyOpenGL 2.0.1.07,
OpenGLContext 2.0.0b2 and mxTextTools-nr against Python 2.4a1, and they
seem to be working fine. I'm very interested in other developers who
want to try building with this combination giving feedback on what needs
to be done to make the instructions clearer and/or more comprehensive.

http://members.rogers.com/mcfletch/p...ing/mstoolkit/

Have fun,
Mike

________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
blog: http://zope.vex.net/~mcfletch/plumbing/


'twould be nice if you did a context diff, rather than a simple diff on
the page.

--
-Scott David Daniels
Sc***********@Acm.Org
Jul 18 '05 #3
Merci !

Thanks ; I awaited that.

Jul 18 '05 #4
"Mike C. Fletcher" <mc******@rogers.com> writes:
I've put together a page describing how to build Python 2.4 extensions
with the free (as in beer, not libre) Microsoft Visual C++ Toolkit
compiler. So far I've been able to build Numpy 23.1, PyOpenGL
2.0.1.07, OpenGLContext 2.0.0b2 and mxTextTools-nr against Python
2.4a1, and they seem to be working fine. I'm very interested in other
developers who want to try building with this combination giving
feedback on what needs to be done to make the instructions clearer
and/or more comprehensive.

http://members.rogers.com/mcfletch/p...ing/mstoolkit/


Have you put the distutils patch described here onto Sourceforge?

Paul
--
The only reason some people get lost in thought is because it's
unfamiliar territory -- Paul Fix
Jul 18 '05 #5
Paul Moore wrote:
....
http://members.rogers.com/mcfletch/p...ing/mstoolkit/

Have you put the distutils patch described here onto Sourceforge?

Not yet.

AFAIK no-one else has had success with the approach, which would seem to
make including the support code in the standard library a little
premature. More, the current patch hard-codes a GUID that may change
(that is, different versions of the .NET Framework SDK may use different
GUIDs), which suggests that it's not the correct way to address the
problem of finding the SDK's installation directory.

Both of those (confirmation and discussion of that little hack) should
be discussed before integrating the code IMO.

Enjoy,
Mike

________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com

Jul 18 '05 #6
Mike C. Fletcher wrote:
http://members.rogers.com/mcfletch/p...ing/mstoolkit/


I can't access this web site. It says: "VRPlumber's Pages have Moved"

But I can't resolve www.vrplumber.com.

Ciao, Michael.
Jul 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Chris Gonnerman | last post by:
I'll be quick. Here's a transcript: C:\usr\WConio-1.5>python setup.py build --compiler=mingw32 running build running build_py running build_ext building '_WConio' extension writing...
7
by: Anthony Baxter | last post by:
I'm trying to build a binary of fastaudio (the wrapper for the PortAudio library, from http://www.freenet.org.nz/python/pyPortAudio/) for Python 2.3. There's a lot of FAQs and the like out there...
33
by: Darren Dale | last post by:
I love the language. I love the community. My only complaint is that Python for Windows is built with Visual Studio. It is too difficult to build python, or a module, from source. This is what...
9
by: Steve Menard | last post by:
I will soon have to write start providing Python extensions, in binary form, for python 2.4, and I have a few questions. I have Visual C++ 6 installed, which works great for python 2.3. I do...
2
by: . | last post by:
Hi, how can I build python modules on windows? I tried to build numarray using Microsoft Visual C++ 2003 Toolkit, but got the following error: --- error: Python was built with version 7.1 of...
17
by: nnorwitz | last post by:
For more details about the plan for Python 2.5, see: http://www.python.org/doc/peps/pep-0356/ The highlights are that we are hoping to put out the first alpha Real Soon Now, hopefully in a...
48
by: meyer | last post by:
Hi everyone, which compiler will Python 2.5 on Windows (Intel) be built with? I notice that Python 2.4 apparently has been built with the VS2003 toolkit compiler, and I read a post from Scott...
6
by: JW | last post by:
I have a lousy little Python extension, generated with the generous help of Pyrex. In Linux, things are simple. I compile the extension, link it against some C stuff, and *poof*! everything...
4
by: vedrandekovic | last post by:
Hi, I have already install Microsoft visual studio .NET 2003 and MinGw, when I try to build a extension: python my_extension_setup.py build ( or install ) , I get an error: LINK : fatal...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.