diff options
author | David Cournapeau <cournape@gmail.com> | 2012-06-24 22:11:46 +0100 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2012-06-24 22:11:46 +0100 |
commit | 9982831d955bfd87ead42704c76992c3633f4664 (patch) | |
tree | 9470675a07fbfe3b43f6111c7ed002e0cb4b1b5e | |
parent | 699c2f3cca63966bf086c58a59e1b6ee6fa7e090 (diff) | |
download | numpy-9982831d955bfd87ead42704c76992c3633f4664.tar.gz |
ENH: allow NPY_SEPARATE_COMPILATION to be set to 0 to disallow separate build.
-rw-r--r-- | numpy/core/setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 92d352e9a..2d36f5ee1 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -13,8 +13,8 @@ from setup_common import * # Set to True to enable multiple file compilations (experimental) try: - os.environ['NPY_SEPARATE_COMPILATION'] - ENABLE_SEPARATE_COMPILATION = True + val = os.environ['NPY_SEPARATE_COMPILATION'] + ENABLE_SEPARATE_COMPILATION = (val != "0") except KeyError: ENABLE_SEPARATE_COMPILATION = False |