This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Clerx
Recipients BreamoreBoy, Michael.Clerx, dstufft, eric.araujo, indygreg, steve.dower
Date 2015-03-09.15:15:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@Mark I don't quite understand what you're saying. Distutils supports it, provided you add a line to distutils.cfg. I've been using the PythonXY versions of Python with MinGW (everything before to happily compile for nearly 4 years now.

Regarding your earlier suggestion about distutils and Visual C++ for Python, I hacked something together to do it dynamically in the script using distutils. Very ugly :-)

import platform
if platform.system() == 'Windows':
    vcpath = os.environ['ProgramFiles']
    vcpath = os.path.join(vcpath, 'Common Files', 'Microsoft',
        'Visual C++ for Python', '9.0', 'vcvarsall.bat')
    if os.path.isfile(vcpath):
        import distutils.msvc9compiler
        old_find = distutils.msvc9compiler.find_vcvarsall
        def new_find(version):
            path = old_find(version)
            if path is None:
                return vcpath
        distutils.msvc9compiler.find_vcvarsall = new_find
Date User Action Args
2015-03-09 15:15:34Michael.Clerxsetrecipients: + Michael.Clerx, eric.araujo, BreamoreBoy, steve.dower, dstufft, indygreg
2015-03-09 15:15:34Michael.Clerxsetmessageid: <>
2015-03-09 15:15:34Michael.Clerxlinkissue23246 messages
2015-03-09 15:15:34Michael.Clerxcreate