summaryrefslogtreecommitdiff
path: root/numpy/core/setup_common.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-04-29 08:21:01 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-04-29 08:21:01 +0000
commit2d24df5b14f078ce6a3e70762955976ac3ba796a (patch)
tree3ce3a2e23746cef668057678d677e1922cca1d7d /numpy/core/setup_common.py
parent24b284bc85570e113b0d95c428abcc44dbec104e (diff)
downloadnumpy-2d24df5b14f078ce6a3e70762955976ac3ba796a.tar.gz
Do not use txt file for C API/ABI versions anymore, and display a warning instead of exception when mismatch is detected.
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r--numpy/core/setup_common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py
index 1b0de32f7..10d071e3e 100644
--- a/numpy/core/setup_common.py
+++ b/numpy/core/setup_common.py
@@ -1,5 +1,8 @@
# Code shared by distutils and scons builds
+C_ABI_VERSION = 0x01000009
+C_API_VERSION = 0x00000001
+
# Mandatory functions: if not found, fail the build
MANDATORY_FUNCS = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs",
"floor", "ceil", "sqrt", "log10", "log", "exp", "asin",