diff DEPENDENCIES/mingw32/Python27/Lib/site-packages/numpy/distutils/__init__.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/__init__.py	Wed Feb 25 14:05:22 2015 +0000
@@ -0,0 +1,39 @@
+from __future__ import division, absolute_import, print_function
+
+import sys
+
+if sys.version_info[0] < 3:
+    from .__version__ import version as __version__
+    # Must import local ccompiler ASAP in order to get
+    # customized CCompiler.spawn effective.
+    from . import ccompiler
+    from . import unixccompiler
+
+    from .info import __doc__
+    from .npy_pkg_config import *
+
+    try:
+        import __config__
+        _INSTALLED = True
+    except ImportError:
+        _INSTALLED = False
+else:
+    from numpy.distutils.__version__ import version as __version__
+    # Must import local ccompiler ASAP in order to get
+    # customized CCompiler.spawn effective.
+    import numpy.distutils.ccompiler
+    import numpy.distutils.unixccompiler
+
+    from numpy.distutils.info import __doc__
+    from numpy.distutils.npy_pkg_config import *
+
+    try:
+        import numpy.distutils.__config__
+        _INSTALLED = True
+    except ImportError:
+        _INSTALLED = False
+
+if _INSTALLED:
+    from numpy.testing import Tester
+    test = Tester().test
+    bench = Tester().bench