[Distutils] How do I find out the compiler?

Paul Moore gustav@morpheus.demon.co.uk
Sat Dec 9 15:53:01 2000

I'm writing a setup.py for the DCOracle extension library. As usual, it was
almost trivial :-) But there was one issue which I didn't resolve. The
Oracle client libraries are supplied in two forms, for MSVC and for Borland
C. As I am using MSVC, I set the library_dirs to the MSVC directory. But I
would like to make this portable. For that I need to determine whether the
user is running MSVC or Borland C. How do I do that within setup.py?

Paul Moore