tags:

views:

14

answers:

0
+1  Q: 

pip mingw compile

I configured mingw and distutils so now I can compile extensions using this command:

setup.py install

MinGW gcc complier will be used and package will be installed. For that I installed MinGW and created distutils.cfg file with following content:

[build]
compiler = mingw32

It's cool but now I'd like to use all pip benefits. So is there a way to use the same MinGW gcc compiler in pip? So I can run this:

pip install <package name>

so pip will use MinGW compiler and compile C code if needed?

Now I've got this error: Unable to find vcvarsall.bat. Seems pip doesn't know that I have gcc compiler. How can I tell that?

Thank you.