Your IP : 216.73.216.213


Current Path : /opt/alt/python27/lib64/python2.7/site-packages/numpy/f2py/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/site-packages/numpy/f2py/__init__.pyc

�
��]c@`s�dZddlmZmZmZdddgZddlZddlmZdd	lm	Z	dd
lm
Z
ejZejZdde
dd
d�ZddlmZe�jZe�jZdS(s(Fortran to Python Interface Generator.

i(tdivisiontabsolute_importtprint_functiontrun_maintcompiletf2py_testingNi(tf2py2e(R(tdiagnosetuntitledts.fc
C`s�ddlm}ddl}|dkr=|jd|�}nt|d�}zs|j|�|j�dj||j	|�}	d}
|
jt
j|	�}
||
�\}}|r�t|�nWd|j
�X|S(sN
    Build extension module from processing source with f2py.

    Parameters
    ----------
    source : str
        Fortran source of module / subroutine to compile
    modulename : str, optional
        The name of the compiled python module
    extra_args : str, optional
        Additional parameters passed to f2py
    verbose : bool, optional
        Print f2py output to screen
    source_fn : str, optional
        Name of the file where the fortran source is written.
        The default is to use a temporary file with the extension
        provided by the `extension` parameter
    extension : {'.f', '.f90'}, optional
        Filename extension if `source_fn` is not provided.
        The extension tells which fortran standard is used.
        The default is `.f`, which implies F77 standard.

        .. versionadded:: 1.11.0

    i(texec_commandNtsuffixtws -c -m {} {} {}s4{} -c "import numpy.f2py as f2py2e;f2py2e.main()" {}(tnumpy.distutils.exec_commandR
ttempfiletNonetNamedTemporaryFiletopentwritetflushtformattnametsyst
executabletprinttclose(
tsourcet
modulenamet
extra_argstverboset	source_fnt	extensionR
Rtftargstctstatustoutput((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/f2py/__init__.pyRs  

(t
_numpy_tester(t__doc__t
__future__RRRt__all__RR	RRRRtmaintTrueRRtnumpy.testing.nosetesterR%ttesttbench(((sF/opt/alt/python27/lib64/python2.7/site-packages/numpy/f2py/__init__.pyt<module>s 		0