From ccf6156261f1e3946f03f295115ea1317990bcbe Mon Sep 17 00:00:00 2001 From: maxirmx Date: Tue, 13 Oct 2015 01:46:52 +0300 Subject: [PATCH] Merging Windows\Linux versions of setup.py #2 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 9cc4155c3..8511a3168 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ from distutils.command.build_ext import build_ext import platform +# By subclassing build_extensions we have the actual compiler that will be used which is really known only after finalize_options # http://stackoverflow.com/questions/724664/python-distutils-how-to-get-a-compiler-that-is-going-to-be-used compile_options = {'msvc' : ['/Ox', '/EHsc'] , 'other' : ['-O3', '-Wno-strict-prototypes', '-Wno-unused-function'] }