Win32/mingw build issues with e3ce0c30798b?
Shun-ichi GOTO
shunichi.goto at gmail.com
Mon Oct 5 22:14:55 CDT 2009
2009/10/6 Jon <jon.forums at gmail.com>:
> I suspect this is my system setup issue as I've just upgraded to Python 2.6.3, but want to double check while I'm trying to figure out the issue.
...snip...
> Given the setup.py is from 8/6 it's unlikely this is the issue. The mention of "vcvarsall.bat" is concerning as it indicates distutils thinks it should setup an MS compiler eventhough I'm using mingw.
I guess it is a bug of python 2.6.3 distutils.
distutils/command/build_ext.py is changed to not to use
user specified compiler value, but I don't know why.
So I filed a issue in bts of python:
http://bugs.python.org/issue7068
Temporarily, you can get back to the behaviour like before by this patch.
diff -r 5874f642b473 distutils/command/build_ext.py
--- a/distutils/command/build_ext.py Tue Oct 06 10:39:34 2009 +0900
+++ b/distutils/command/build_ext.py Tue Oct 06 10:43:14 2009 +0900
@@ -303,7 +303,7 @@
# Setup the CCompiler object that we'll use to do all the
# compiling and linking
- self.compiler = new_compiler(compiler=None,
+ self.compiler = new_compiler(compiler=self.compiler,
verbose=self.verbose,
dry_run=self.dry_run,
force=self.force)
--
Shun-ichi GOTO
More information about the Mercurial
mailing list