diff options
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index a1000ae0b..e0a114483 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -12,11 +12,7 @@ import re from setup_common import * # Set to True to enable multiple file compilations (experimental) -try: - val = os.environ['NPY_SEPARATE_COMPILATION'] - ENABLE_SEPARATE_COMPILATION = (val != "0") -except KeyError: - ENABLE_SEPARATE_COMPILATION = False +ENABLE_SEPARATE_COMPILATION = (os.environ.get('NPY_SEPARATE_COMPILATION', "0") != "0") # XXX: ugly, we use a class to avoid calling twice some expensive functions in # config.h/numpyconfig.h. I don't see a better way because distutils force |