How to define setup.py to use Visual Studio
I am creating a Python extension module on Windows. The extension module is written in C ++. When I call setup.py bdist
then setup.py uses MinGW to compile the C ++ code. Is there a way to tell setup.py to use MSVS 2008 instead?
(Why do I want to do this? This problem is one of the reasons.)
+3
source to share