comparison 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
comparison
equal deleted inserted replaced
86:413a9d26189e 87:2a2c65a20a8b
1 from __future__ import division, absolute_import, print_function
2
3 import sys
4
5 if sys.version_info[0] < 3:
6 from .__version__ import version as __version__
7 # Must import local ccompiler ASAP in order to get
8 # customized CCompiler.spawn effective.
9 from . import ccompiler
10 from . import unixccompiler
11
12 from .info import __doc__
13 from .npy_pkg_config import *
14
15 try:
16 import __config__
17 _INSTALLED = True
18 except ImportError:
19 _INSTALLED = False
20 else:
21 from numpy.distutils.__version__ import version as __version__
22 # Must import local ccompiler ASAP in order to get
23 # customized CCompiler.spawn effective.
24 import numpy.distutils.ccompiler
25 import numpy.distutils.unixccompiler
26
27 from numpy.distutils.info import __doc__
28 from numpy.distutils.npy_pkg_config import *
29
30 try:
31 import numpy.distutils.__config__
32 _INSTALLED = True
33 except ImportError:
34 _INSTALLED = False
35
36 if _INSTALLED:
37 from numpy.testing import Tester
38 test = Tester().test
39 bench = Tester().bench