Current File : //usr/lib64/python2.7/site-packages/numpy/distutils/command/config.pyo |
�
E�`Qc @ s d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l
m Z d d l m
Z
m Z d d l Z d d l m Z d d l m Z d d l m Z m Z d d
l m Z d e d <d
e d <d e f d � � YZ d e f d � � YZ d S( i����N( t config( t LANG_EXT( t log( t copy_file( t CompileErrort LinkError( t exec_command( t generate_manifest( t check_inlinet check_compiler_gcc4( t
get_exceptions .ft f77s .f90t f90R c B s e Z e j d g 7_ d � Z d d d d d d � Z d � Z d � Z d � Z d � Z
d d d d � Z d d d
� Z d d d � Z
d d d d � Z d d d d d
� Z d d d d e e d d � Z d d d d e e d d � Z d � Z d � Z d d d d d d � Z RS( s
fcompiler=s! specify the Fortran compiler typec C s d | _ t j | � d S( N( t Nonet fcompilert
old_configt initialize_options( t self( ( sD /usr/lib64/python2.7/site-packages/numpy/distutils/command/config.pyR s t cc C s/ t j d t � t j | | | | | | | � S( Ns�
+++++++++++++++++++++++++++++++++++++++++++++++++
Usage of try_run is deprecated: please do not
use it anymore, and avoid configuration checks
involving running executable on the target machine.
+++++++++++++++++++++++++++++++++++++++++++++++++
( t warningst warnt DeprecationWarningR t try_run( R t bodyt headerst include_dirst librariest library_dirst lang( ( sD /usr/lib64/python2.7/site-packages/numpy/distutils/command/config.pyR ! s c
C sN t j | � d d l m } m } t j d k r� | j j d k r� | j j s� y | j j
� Wq� t k
r� t � } d | | j j
j f } d GHt j j | � � q� Xq� n t | j | � sJ| d | j d | j d d
d | j � | _ | j d k rJ| j j | j � | j j � rG| j j | � | j j � qGqJn d S( Ni����( t FCompilert
new_fcompilert win32t msvcs� Could not initialize compiler instance: do you have Visual Studio
installed ? If you are trying to build with mingw, please use python setup.py
build -c mingw32 instead ). If you have Visual Studio installed, check it is
correctly installed, and the right version (VS 2008 for python 2.6, VS 2003 for
2.5, etc...). Original exception was: %s, and the Compiler
class was %s
============================================================================sL ============================================================================t compilert dry_runt forcei t
c_compiler( R t _check_compilert numpy.distutils.fcompilerR R t syst platformR! t
compiler_typet initializedt
initializet IOErrorR
t __class__t __name__t distutilst errorst DistutilsPlatformErrort
isinstanceR R"