diff DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/compat.py @ 87:2a2c65a20a8b

Add Python libs and headers
author Chris Cannam
date Wed, 25 Feb 2015 14:05:22 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/compat.py	Wed Feb 25 14:05:22 2015 +0000
@@ -0,0 +1,10 @@
+"""Small modules to cope with python 2 vs 3 incompatibilities inside
+numpy.distutils
+
+"""
+from __future__ import division, absolute_import, print_function
+
+import sys
+
+def get_exception():
+    return sys.exc_info()[1]