Detect and use Microsoft Visual C++ Compilers for Python 2.7 package #258
Labels
Comments
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally reported by: stevedower (Bitbucket: stevedower, GitHub: Unknown)
Microsoft just released a compiler package for Python 2.7 containing VC9. It has both the 32-bit and 64-bit compilers and the Windows SDK headers and libs that should be necessary to build C extensions for Windows. The package is at http://aka.ms/vcpython27
It would be great if setuptools could patch
distutils.msvc9compiler.find_vcvarsall()
to be able to find this compiler when it's installed. The install directory is registered at(HKCU|HKLM)\Software\Microsoft\DevDiv\VCForPython\9.0@InstallDir
and is the directory that contains the requiredvcvarsall.bat
file.This change could justifiably be added to Python 2.7.9, but that won't help people using Python 2.6 or 3.2 or people who aren't able to upgrade their Python 2.7 installation. The compiler package is aimed at package developers (to produce wheels) rather than end users, but it would be nicer to simply say "update setuptools and it'll work".
I'd also like to improve the error message when
vcvarsall.bat
cannot be found and include a link to the compiler. This can help all Python versions and will reduce the confusion faced by users.The text was updated successfully, but these errors were encountered: