473,573 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1384
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***********@A cm.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***********@A cm.Org
Jul 18 '05 #3
Merci !

Thanks ; I awaited that.

Jul 18 '05 #4
"Mike C. Fletcher" <mc******@roger s.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
2398
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 build\temp.win32-2.3\Release\_WConio.def C:\MINGW32\BIN\dllwrap.exe -mno-cygwin -mdll -static --output-lib build\temp.win
7
6389
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 that give some simple directions, involving fetching the .net sdk from MSDN and distutils "should work" - however, when I follow them and try to do...
33
2941
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 open source is all about, isnt it? I even have a copy of visual studio, and I still cant build modules from source, because my academic copy is...
9
1534
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 not have access to Visual C++ 2003, which seems to be the compiler to be used with Python 2.4. Unless I am mistaken, the free command-line compiler...
2
2350
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 Visual Studio, and extensions need to be built with the same version of the compiler, but it isn't installed. ---
17
1866
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 week or two. If there's something you really think just must be in 2.5 and can't wait until 2.6, now is the time to speak up. (Actually, it was time...
48
4904
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 David Daniels where he said that probably the VS2003 toolkit will be used for Python 2.5 again. However, even before the release of Python 2.5, I...
6
2225
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 works. My employer wants me to create a Windows version of my extension that works with the vanilla Python 2.5 from python.org. My employment...
4
2517
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 error LNK1141: failure during build of exports file error: command '"C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe"' failed with...
0
8175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7732
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6353
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5255
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3695
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3691
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1268
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
989
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.