summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-04-30 08:51:21 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-04-30 08:51:21 +0000
commit719164150c82915955cddd0309577bd156da099e (patch)
treef31c5d46ec61caf18f33edea841335cb4ab2dbc0 /numpy/core/setup.py
parent19d51015ea71709bf94422cbecd409a8cd079998 (diff)
downloadnumpy-719164150c82915955cddd0309577bd156da099e.tar.gz
Define separate compilation define in config.h as well, and use config.h early when needed.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 99c9c6b5e..9d4f2c1a7 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -323,6 +323,9 @@ def configuration(parent_package='',top_path=None):
else:
PYTHON_HAS_UNICODE_WIDE = False
+ if ENABLE_SEPARATE_COMPILATION:
+ moredefs.append(('ENABLE_SEPARATE_COMPILATION', 1))
+
# Generate the config.h file from moredefs
target_f = open(target,'a')
for d in moredefs: