How to make py2.5 distutil to use VC2005?

Terry Reedy tjreedy at udel.edu
Thu Jun 5 16:16:15 EDT 2008


"??" <littlesweetmelon at gmail.com> wrote in message 
news:cdb837ea0806050201l10a91b40xfa28d29de18fed30 at mail.gmail.com...
| When you use distutil to trigger compilation, a special *python script*
| will check whether the default compiler is VS2003. If there is no
| VS2003, this script will pop-up the error for incompatible compilers.
| I really really wonder how to *force* distutil to use my specified 
compile.
| eg: (pseudo)
| python setup.py build -c VC2005
| or
| python setup.py build --compiler=C:\VC8\cc --linker=C:\VC8\ld

(Completely untested suggestions ;-)
Rename VC2005 to VC2003?
Change or add the appropriate registry entry?






More information about the Python-list mailing list