summaryrefslogtreecommitdiff
path: root/numpy/distutils/system_info.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2006-05-18 20:38:31 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2006-05-18 20:38:31 +0000
commit4e6f53af6e8fe821b43490347751dce05a911fda (patch)
treeee373080562594fda050f29e9f9378aedb654969 /numpy/distutils/system_info.py
parent224328314df74d60aa94380c15810a1eb7de6b96 (diff)
downloadnumpy-4e6f53af6e8fe821b43490347751dce05a911fda.tar.gz
Set NUMERIX env variable in get_info('numerix')
Diffstat (limited to 'numpy/distutils/system_info.py')
-rw-r--r--numpy/distutils/system_info.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
index 99f6f93fb..bfd7dd4bb 100644
--- a/numpy/distutils/system_info.py
+++ b/numpy/distutils/system_info.py
@@ -1505,6 +1505,7 @@ class numerix_info(system_info):
raise ValueError("numerix selector must be either 'Numeric' "
"or 'numarray' or 'numpy' but the value obtained"
" from the %s was '%s'." % (which[1], which[0]))
+ os.environ['NUMERIX'] = which[0]
self.set_info(**get_info(which[0]))
class f2py_info(system_info):