I am trying to compile a python module using a compiler other than 'gcc', specifically 'icc' (for efficiency reasons).
I tried forcing the compilation setting 'cc' to 'clang' but still that did not work as my extension was built using GCC.
Anyway, looking at this post https://bugs.python.org/issue35244, I guess the hopes of doing this using distutils are small.
So, as suggested in the aforementioned post, I looked into using 'setuptools'.
https://wiki.python.org/moin/ExtensionTutorial
How would you force the compilation of the example module to be carried out using a different compiler other than gcc?