Building python extensions

2009-02-26 Thread Jrod
Lets say I compile python 2.6.1 without readline support due to not having the readline headers installed prior. Is there a standard way to recompile the extension without having to rebuild the entire source. Looking at the makefile, I found the gcc line (modified to dump the relocatable in the

Re: Building Python extensions from sources on Windows

2006-03-25 Thread Martin v. Löwis
TPJ wrote: > And that's the problem: I understand the fact, that in order to build a > non-pure distrubution, all the C sources have to be compiled (to dll > libraries?). But there's the problem: I don't know which one compiler > should I use. Do I have to use the same compiler, that the Python has

Building Python extensions from sources on Windows

2006-03-25 Thread TPJ
Hello, I have another, probably stupid, question. I'm working on some Python project, and I use some extensions written in C. I do all the development on my GNU/Linux box, so my setup.py script works just as it's supposed to work on a GNU/Linux system. But in the nearest future I'll have to make a

Re: building python extensions with .net sdk compiler?

2004-12-11 Thread Grumman
Mike C. Fletcher wrote: Grumman wrote: Of course it'd be nice if msvccompiler.py just fell back to looking for the toolkit/sdk default dirs (or looked them up via environment vars, since the toolkit does include a vcvars32.bat that sets appropriate ones) if the VS lookup failed. Which is what t

Re: building python extensions with .net sdk compiler?

2004-12-11 Thread Nick Coghlan
Mike C. Fletcher wrote: Which is what the patch here: http://www.vrplumber.com/programming/mstoolkit/ does. Has that patch been posted to Python's SourceForge patch tracker? I think the distutils folks will be interested. Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Au

Re: building python extensions with .net sdk compiler?

2004-12-11 Thread Mike C. Fletcher
Grumman wrote: David Fraser wrote: So using MinGW seems like the better option ... is it working for Python 2.4? ... Of course it'd be nice if msvccompiler.py just fell back to looking for the toolkit/sdk default dirs (or looked them up via environment vars, since the toolkit does include a vcv

Re: building python extensions with .net sdk compiler?

2004-12-11 Thread Grumman
David Fraser wrote: So using MinGW seems like the better option ... is it working for Python 2.4? Yes it does. :) I haven't tried it, but probably. The problem with the toolkit is that mscvccompiler.py in distutils is expecting VisualStudio to be installed, not the toolkit. So when it goes to l

Re: building python extensions with .net sdk compiler?

2004-12-11 Thread David Fraser
Grumman wrote: I got this insane message, how did you solve this "problem" ? running install running build running build_py running build_ext error: The .NET Framework SDK needs to be installed before building extensions for Python. - Or does anyone know why i get this me

Re: building python extensions with .net sdk compiler?

2004-12-10 Thread Grumman
I got this insane message, how did you solve this "problem" ? running install running build running build_py running build_ext error: The .NET Framework SDK needs to be installed before building extensions for Python. - Or does anyone know why i get this message, the .net

Re: building python extensions with .net sdk compiler?

2004-12-10 Thread Zuurcool
Anthony Baxter wrote: 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 di