
    wgm                        d Z 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	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 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 ej.                  Zej.                  Zej                  Zej6                  Zej8                  dk\  Zde de dZd Zd Z d Z!d Z"d Z#d$dZ$d Z% G d de	jL                        Z'd Z(d Z)d Z*d  Z+d! Z,d%d"Z-d# Z.y)&ae  

f2py2e - Fortran to Python C/API generator. 2nd Edition.
         See __usage__ below.

Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
Copyright 2011 -- present NumPy Developers.
Permission to use, modify, and distribute this software is given under the
terms of the NumPy License.

NO WARRANTY IS EXPRESSED OR IMPLIED.  USE AT YOUR OWN RISK.
    N)Path)	dropwhile   )crackfortran)rules)cb_rules)auxfuncs)cfuncs)f90mod_rules)__version__)	capi_maps)errmess)f2py_build_generator)      ay  Usage:

1) To construct extension module sources:

      f2py [<options>] <fortran files> [[[only:]||[skip:]] \
                                        <fortran functions> ] \
                                       [: <fortran files> ...]

2) To compile fortran files and build extension modules:

      f2py -c [<options>, <build_flib options>, <extra options>] <fortran files>

3) To generate signature files:

      f2py -h <filename.pyf> ...< same options as in (1) >

Description: This program generates a Python C/API file (<modulename>module.c)
             that contains wrappers for given fortran functions so that they
             can be called from Python. With the -c option the corresponding
             extension modules are built.

Options:

  -h <filename>    Write signatures of the fortran routines to file <filename>
                   and exit. You can then edit <filename> and use it instead
                   of <fortran files>. If <filename>==stdout then the
                   signatures are printed to stdout.
  <fortran functions>  Names of fortran routines for which Python C/API
                   functions will be generated. Default is all that are found
                   in <fortran files>.
  <fortran files>  Paths to fortran/signature files that will be scanned for
                   <fortran functions> in order to determine their signatures.
  skip:            Ignore fortran functions that follow until `:'.
  only:            Use only fortran functions that follow until `:'.
  :                Get back to <fortran files> mode.

  -m <modulename>  Name of the module; f2py generates a Python/C API
                   file <modulename>module.c or extension module <modulename>.
                   Default is 'untitled'.

  '-include<header>'  Writes additional headers in the C wrapper, can be passed
                      multiple times, generates #include <header> each time.

  --[no-]lower     Do [not] lower the cases in <fortran files>. By default,
                   --lower is assumed with -h key, and --no-lower without -h key.

  --build-dir <dirname>  All f2py generated files are created in <dirname>.
                   Default is tempfile.mkdtemp().

  --overwrite-signature  Overwrite existing signature file.

  --[no-]latex-doc Create (or not) <modulename>module.tex.
                   Default is --no-latex-doc.
  --short-latex    Create 'incomplete' LaTeX document (without commands
                   \documentclass, \tableofcontents, and \begin{document},
                   \end{document}).

  --[no-]rest-doc Create (or not) <modulename>module.rst.
                   Default is --no-rest-doc.

  --debug-capi     Create C/API code that reports the state of the wrappers
                   during runtime. Useful for debugging.

  --[no-]wrap-functions    Create Fortran subroutine wrappers to Fortran 77
                   functions. --wrap-functions is default because it ensures
                   maximum portability/compiler independence.

  --include-paths <path1>:<path2>:...   Search include files from the given
                   directories.

  --help-link [..] List system resources found by system_info.py. See also
                   --link-<resource> switch below. [..] is optional list
                   of resources names. E.g. try 'f2py --help-link lapack_opt'.

  --f2cmap <filename>  Load Fortran-to-Python KIND specification from the given
                   file. Default: .f2py_f2cmap in current directory.

  --quiet          Run quietly.
  --verbose        Run with extra verbosity.
  --skip-empty-wrappers   Only generate wrapper files when needed.
  -v               Print f2py version ID and exit.


build backend options (only effective with -c)
[NO_MESON] is used to indicate an option not meant to be used
with the meson backend or above Python 3.12:

  --fcompiler=         Specify Fortran compiler type by vendor [NO_MESON]
  --compiler=          Specify distutils C compiler type [NO_MESON]

  --help-fcompiler     List available Fortran compilers and exit [NO_MESON]
  --f77exec=           Specify the path to F77 compiler [NO_MESON]
  --f90exec=           Specify the path to F90 compiler [NO_MESON]
  --f77flags=          Specify F77 compiler flags
  --f90flags=          Specify F90 compiler flags
  --opt=               Specify optimization flags [NO_MESON]
  --arch=              Specify architecture specific optimization flags [NO_MESON]
  --noopt              Compile without optimization [NO_MESON]
  --noarch             Compile without arch-dependent optimization [NO_MESON]
  --debug              Compile with debugging information

  --dep                <dependency>
                       Specify a meson dependency for the module. This may
                       be passed multiple times for multiple dependencies.
                       Dependencies are stored in a list for further processing.

                       Example: --dep lapack --dep scalapack
                       This will identify "lapack" and "scalapack" as dependencies
                       and remove them from argv, leaving a dependencies list
                       containing ["lapack", "scalapack"].

  --backend            <backend_type>
                       Specify the build backend for the compilation process.
                       The supported backends are 'meson' and 'distutils'.
                       If not specified, defaults to 'distutils'. On
                       Python 3.12 or higher, the default is 'meson'.

Extra options (only effective with -c):

  --link-<resource>    Link extension module with <resource> as defined
                       by numpy.distutils/system_info.py. E.g. to link
                       with optimized LAPACK libraries (vecLib on MacOSX,
                       ATLAS elsewhere), use --link-lapack_opt.
                       See also --help-link switch. [NO_MESON]

  -L/path/to/lib/ -l<libname>
  -D<define> -U<name>
  -I/path/to/include/
  <filename>.o <filename>.so <filename>.a

  Using the following macros may be required with non-gcc Fortran
  compilers:
    -DPREPEND_FORTRAN -DNO_APPEND_FORTRAN -DUPPERCASE_FORTRAN

  When using -DF2PY_REPORT_ATEXIT, a performance report of F2PY
  interface is printed out at exit (platforms: Linux).

  When using -DF2PY_REPORT_ON_ARRAY_COPY=<int>, a message is
  sent to stderr whenever F2PY interface makes a copy of an
  array. Integer <int> sets the threshold for array sizes when
  a message should be shown.

Version:     z
numpy Version: z
License:     NumPy license (see LICENSE.txt in the NumPy source code)
Copyright 1999 -- 2011 Pearu Peterson all rights reserved.
Copyright 2011 -- present NumPy Developers.
https://numpy.org/doc/stable/f2py/index.html
c           	         g g g g f\  }}}}d\  }}}}}	}
}}d}d}d}d}d}d}d}t        |       \  }} d\  }}|d d d}| D ]-  }|d	k(  r
|d
k(  rd}|dk(  rd}|dk(  rd}"|d d dk(  r|j                  |dd         ?|dk(  rd}G|dk(  rd}	O|dk(  rd}W|dk(  rd}_|dk(  r|dz  }j|dk(  rd}r|dk(  rd}z|dk(  rd}|dk(  rd}|dk(  rd}|dk(  rd}|dk(  rd|d<   |dk(  rd}
|dk(  rd}|dk(  rd}|dk(  rd|d <   |d!k(  rd}|d"k(  rd}|d d# d$k(  r%t        t               t	        j
                          |d%k(  rd}|d d d&k(  rCt        j                  d'   j                  |d(d        d)|dd  z   t        j                  |d(d <   Y|d*k(  rd+}b|d   d,k(  r-t        d-t        |      z         t	        j
                          |rd}|}|rd}|}|	rd}	|}|
r	d}
||d.<   |r	d}||d/<   |r	d}||d0<   |dk(  r)	 t        |      5  	 d d d        |j                  |       |dk(  r|j                  |       |dk(  s|j                  |       0 |s'|s%|s#t        t               t	        j
                          t        j                  j!                  |      s%|st#        d4|z         t        j$                  |       |r t        j                  j'                  ||      }|rEt        j                  j)                  |      r&d |vr"t        d5|z         t	        j
                          ||d6<   ||d7<   ||d8<   |dk(  r|sd|d9<   n||d9<   |r||d:<   |r||d;<   |r||d<<   |r||d=<   ||d><   ||d?<   ||d@<   ||dA<   ||dB<   |j+                  d0d        ||fS # 1 sw Y   xY w# t        $ r}t        d1|d2|d3       Y d }~d }~ww xY w)CN)r   r   r   r   r   r   r   r   r   Tr   .)NN)	buildpathcoutputf2py_wrapper_output only:skip::   z--debug---lower--build-dirz
--no-lower--quietz	--verbosez--latex-docz--no-latex-docz
--rest-docz--no-rest-docz--wrap-functionsz--no-wrap-functionsz--short-latex
shortlatexz	--coutputz--f2py-wrapper-output--f2cmapz--overwrite-signaturezh-overwrite-h-m   z-vz--show-compilersz-includeuserincludes	   z	#include z--skip-empty-wrappersF-zUnknown option %s
r   r   f2cmap_filez	OSError: z. Skipping file "z".
zCreating build directory %s
zFSignature file "%s" exists!!! Use --overwrite-signature to overwrite.
emptygendebugverbosedo-lowermodule	signsfile	onlyfuncs	skipfuncs
dolatexdoc	dorestdoc	wrapfuncsr   include_paths)get_includesappendprintf2py_versionsysexitr
   outneedsr%   r   repropenOSError	__usage__ospathisdiroutmessmkdirjoinisfile
setdefault)	inputlinefilesr0   r/   r*   ff2f3f5f6f8f9f10r+   r)   dolcr1   r2   r3   r   r4   r.   
modulenameoptionsldetails                             V/home/mcse/projects/flask/flask-venv/lib/python3.12/site-packages/numpy/f2py/f2py2e.pyscaninputlinerX      s   )+RR&E9i%;"Ar2r2r2sGHDJIII+I6M9&Iz%&*,G  X 7'\A'\A#XArUj LL12)^D-B,D)^G+qLG-J""J,I/!I$$I''I/!$%GL!+B))B*_C))%&GM"$YB$YBrUd],HHJ$$BrUj OON+221Qr7;+612+>F!B())HqTS[)DG34HHJBIBJBIB!"GIB-.G)*C%&GM"!VJ!W Q "WQ!VQqX r eJi
77==#3yAB
GGLLI6	RWW^^I.=3OUYbc	e
"GJGG GIrz)
"
&(((&GL$GK$GK$GK,GO}d+'>Y   J)F:->qe4HIIJs0   O !N3#O 3N=	8O  	O&	O!!O&c                    |t         _        |d   t        _        |d   t        _        d|v r|d   t        _        d|v r|d   t        _        d|v r|d   t        _        |d   t        j                  d d  |d   t        _	        t        j                  |       }d|v rzt        d	|d   z         t        j                  |      }|d   d
d  dk(  r t        j                  j                  |       n)t        |d   d      5 }|j                  |       d d d        |d   |D ]  }d|d   z  |d<    n|D ]
  }|d   |d<    |d   |D ]  }d|d   z  |d<    |S |D ]
  }|d   |d<    |S # 1 sw Y   ZxY w)Nr*   r+   r-   r0   r/   r4   r,   r.   zSaving signatures to file "%s"
istdoutwr   z
%smodule.cnamer   z%s-f2pywrappers.f)r   rT   r   r*   r+   f77modulenamer0   r/   r4   dolowercaserC   crack2fortranr9   rZ   writer=   )rI   rT   postlistpyfrJ   mods         rW   callcrackfortranrd   O  s   EM )L"9-L7%,X%6"g!(!5g!(!5$+O$<Lq!&z2L((/Hg2gk6JKL((2;$0JJS!gk*C0 Ay! 	8C)CK7C	N	8  	0C$Y/C	N	0$%- 	KC)<s6{)JC%&	K
 O  	HC)01F)GC%&	HO s   ;E&&E/c                    t        j                          t        d       g g i }}}| D ]  }d|d   v rt        j                  |        d|v r8|d   j                         D ]"  }||vrg ||<   ||   j                  |d          $ |j                  |       |j                  |d           i }t        ||      D ]  \  }}||v r,t        d|ddj                  d ||   D              d	       6g }	d|v rV|d   j                         D ]@  }||v r(||v r$|	j                  ||j                  |                /t        d
| d| d       B i ||<   t        ||   t        j                  ||	              |S )NzBuilding modules...
__user__r\   usez	Skipping module "z" which is used by ,c              3   &   K   | ]	  }d |z    yw)z"%s"N .0ss     rW   	<genexpr>zbuildmodules.<locals>.<genexpr>  s     BavzBs   .
z		Module "z" uses nonexisting "z" which will be ignored.
)r
   buildcfuncsrC   r   buildcallbackskeysr6   ziprE   indexdict_appendr   buildmodule)
lstmodulesmnamesisusedbyitemuretr-   r\   ums
             rW   buildmodulesr   s  s   
#$ "BXVG 
(f%##D)}e))+ 5A(&(QK&&tF|45 NN4 MM$v,'
( CGV, B8chhB8D>BBD E B++- 8AH}f		'&,,q/":;(.B1# F7 78	8 CID	5#4#4VR#@AB  J    c                     |j                         D ]>  \  }}|| vrg | |<   t        |t              r| |   |z   | |<   +| |   j                  |       @ y N)items
isinstancelistr6   )d_outd_inkvs       rW   ru   ru     sV    **, AE>E!HaQx!|E!H!HOOAr   c                    t        j                          t        j                  j	                  t        j                  j                  t        j                              }t        j                  j                  |dd      }t        j                  j                  |dd      }t               }|j                  |       \  }} t        dd|       \  }}|j                  r.d| v r|j                  }nt        ||j                        }| d|gz  } t        |       \  }	}
|
t        _        t#        j$                  |
d          t'        |	|
      }i }|D ]?  }d	|v s|d	   j)                         D ]"  }||vrg ||<   ||   j+                  |d
          $ A |D ]X  }|d   dk(  sd|d
   v s|d
   |v st-        d|d
    dj/                  dj                  d ||d
      D                           Z d|
v rV|
d   dkD  rMt-        d       t-        t        j                  j1                  t2        j4                  d         d|
d   d       y|D ]3  }|d   dk7  sd|
vrt7        d       t9        dt;        |d         z         |
d   t        _        |
t>        _        |
d   t        _         tC        |      }|j)                         D ]  }tE        ||   ||d        |S )au  
    Equivalent to running::

        f2py <args>

    where ``<args>=string.join(<list>,' ')``, but in Python.  Unless
    ``-h`` is used, this function returns a dictionary containing
    information on generated modules and their dependencies on source
    files.

    You cannot build extension modules with this function, that is,
    using ``-c`` is not allowed. Use the ``compile`` command instead.

    Examples
    --------
    The command ``f2py -m scalar scalar.f`` can be executed from Python as
    follows.

    .. literalinclude:: ../../source/f2py/code/results/run_main_session.dat
        :language: python

    srczfortranobject.hzfortranobject.cr   [.]pyf([.]src|)r"   r#   r(   rg   r\   blockzpython modulerf   z$Skipping Makefile build for module "z" which is used by {}
rh   c              3   (   K   | ]
  }d | d   yw)"Nrj   rk   s     rW   rn   zrun_main.<locals>.<genexpr>  s      Ka1QCq Ks   r.   r+   r   zKStopping. Edit the signature file and then run f2py on the signature file: r    
NzJTip: If your original code is Fortran source then you must use -m option.
z2All blocks must be python module blocks but got %sr*   r3   )csrch)#r   reset_global_f2py_varsr@   rA   dirnameabspathr
   __file__rE   make_f2py_compile_parserparse_known_argsfilter_filesmodule_namevalidate_modulenamerX   r	   rT   r   load_f2cmap_filerd   rr   r6   rC   formatbasenamer9   argvr   	TypeErrorr<   debugoptionsr   r3   r   ru   )comline_listf2pydirfobjhsrcfobjcsrcparserargs	pyf_files_modnamerI   rT   ra   rz   plistr|   r}   mns                    rW   run_mainr     s   . '')ggoobggoofoo>?Gww||GU,=>Hww||GU,=>H%'F00>D,$5|DLIq <    *4++G 	w'"<0NE7Hw}56w/HH 2E>5\&&( 2H$"$HQK""5=122  N>_,uV}1LV}(:5=/ J, ,,2F K8E&M3J KK-MN	N g9!]_WW%%chhqk2GK4HJ K '>_,g-acPU7^$& ' '' $G,H"L -H
x
 Chhj @CGhX>?@Jr   c                 .   g g }}t        j                  | dz   |z   dz         j                  }|rt        |       }nd}|D cg c]  }|j	                          c}D ]0  }	 ||	      r|j                  |	|d         |j                  |	       2 ||fS c c}w )z,
    Filter files by prefix and suffix.
    z.*z\Zr   N)recompilematchlenstripr6   )
prefixsuffixrI   remove_prefixfilteredrestr   indxfiles
             rW   r   r     s     dHJJv~.67==E&k$)*q* ;OODJ'KK	
 T> +s   Bc                     t         j                  j                  t         j                  j                  | j                              }|S r   )r@   rA   r   r   )r-   ps     rW   
get_prefixr   
  s*    
89AHr   c                       e Zd ZddZy)CombineIncludePathsNc                     t        t        |dg       xs g       }|dk(  rt        d       |dk(  s|dk(  r!|j                  |j	                  d             n|j                  |       t        |dt        |             y )Nr4   --include_pathszJUse --include-paths or -I instead of --include_paths which will be removed--include-pathsr   )setgetattrrC   updatesplitaddsetattrr   )selfr   	namespacevaluesoption_stringinclude_paths_sets         rW   __call__zCombineIncludePaths.__call__  su    	?B G M2N--`a--BS1S$$V\\#%67!!&)	?D1B,CDr   r   )__name__
__module____qualname__r   rj   r   rW   r   r     s    Er   r   c                      t        j                  d      } | j                  ddt               | j                  ddt               | j                  ddt               | S )NFadd_helpz-Ir4   )destactionr   r   )argparseArgumentParseradd_argumentr   r   s    rW   include_parserr     s[    $$e4F
?;NO
)H[\
)H[\Mr   c                     dj                  |       j                         } t               }|j                  |       \  }}|j                  }|j                  g }||fS )Nr   )rE   r   r   r   r4   )iliner   r   remainipathss        rW   r5   r5   !  sZ    XXe_##%EF**51LD&F!6>r   c                      t        j                  d      } | j                  ddd       | j                  ddd	gd	
       | j                  dd       | S )NFr   z--depr6   dependencies)r   r   z	--backendmeson	distutils)choicesdefaultr#   r   )r   )r   r   r   r   s    rW   r   r   *  sY    $$e4F
~F
g{-C[Y
=1Mr   c                      t               } | j                         \  }}t        j                  d   g|z   t        _        |j                  }t
        r|dk(  rt        d       d}|j                  xs g ||j                  dS )Nr   r   zMCannot use distutils backend with Python>=3.12, using meson backend instead.
r   )r   backendrS   )	r   r   r9   r   r   MESON_ONLY_VERrC   r   r   )r   r   remaining_argvbackend_keys       rW   preparse_sysargvr   1  s     &'F!224D.}~-CH,,K+4 2 	3 ))/R&& r   c                  :   ddl } t               }|d   }|d}|d   }|d   }t        |      }t        j                  j                  d      }t        j                  |= d}	 t        j                  j                  d      }|<t        j                  |d	z      }t        j                  |d	z   = t        j                  |= nd	}| j                         }t        j                  d
      }	t        j                  d	d D 
cg c]  }
|	j                  |
      s|
 }}
t        j                  D 
cg c]	  }
|
|vs|
 c}
t        _        |r|D cg c]  }|dd 	 }}t        j                  d      }t        j                  d	d D 
cg c]  }
|j                  |
      s|
 }}
t        j                  D 
cg c]	  }
|
|vs|
 c}
t        _        g }d}t        j                  d	d D ])  }|dv rd	}n|dk(  rd}|s|dk(  s|j                  |       + |r|d   dk7  r|j                  d       |j                  |       t        j                  D 
cg c]	  }
|
|vs|
 c}
t        _        t        j                  d      }t        j                  d	d D 
cg c]  }
|j                  |
      s|
 }}
t        j                  D 
cg c]	  }
|
|vs|
 c}
t        _        t        j                  d      }t        j                  d      }t        j                  d	d D 
cg c]  }
|j                  |
      s|
 }}
t        j                  d	d D 
cg c]  }
|j                  |
      s|
 }}
t        s|dk(  s|j                  |       t        j                  D 
cg c]  }
|
||z   vs|
 c}
t        _        g }|D ]  }d}|dt        |       |k(  st        s|dk(  rt        d       .ddlm} |j%                          t'        |j(                  j+                               }|t        |      d j-                         x}}||vr
i }	 ||   }|}|j                  |      }d|z   ||<    |D ]  }|j                  |      }||=  t        |      dk  sJ t5        |             t        j                  d      } t        j                  d	d D 
cg c]  }
| j                  |
      s|
 }!}
t        j                  D 
cg c]	  }
|
|!vs|
 c}
t        _        d|v r|!j                  d       t        j                  d	d }"d}#|#t        j                  v r|t        j                  j                  |#      }|j                  t        j                  ||dz           t        j                  |d	z   = t        j                  |= t        j                  d	d }"t7        dd|"      \  }$}%|$|%z   }"t9        |$|      }t7        dd|"      \  }&}"t7        dd|"d	       \  }'}"t7        d!d|"d	       \  }(}"t7        d"d|"d	       \  })}"t7        d#d|"d	       \  }*}"t;        t        |*            D ]_  }|*|   j=                  d$d	      }+t        |+      d	k(  r|+j                  d       t        |+      dk(  rt?        |+      |*|<   Tt3        d%|+       a |dk(  r|$s]t        d&       |j                  d'       tA        d(d(jC                  |       d)| d(d(jC                  |"       j=                                n=tA        d(d(jC                  |       d(d(jC                  |$       j=                                tE        |"      \  },}" |||"|&||,|'|(|*|)|||||!|d|i      }-|-j                          y# t        $ r d}Y w xY wc c}
w c c}
w c c}w c c}
w c c}
w c c}
w c c}
w c c}
w c c}
w c c}
w c c}
w # t.        $ r0 ||j1                         vrt3        d|t        |      d z         Y w xY wc c}
w c c}
w )*z 
    Do it all in one call!
    r   NrS   untitledr   r   -cr   r   z--link-   zN--((no-|)(wrap-functions|lower)|debug-capi|quiet|skip-empty-wrappers)|-include)r   r   r   r   z4--((f(90)?compiler(-exec|)|compiler)=|help-compiler)z--f(77|90)flags=z@--((f(77|90)exec|opt|arch)=|(debug|noopt|noarch|help-fcompiler))r   z--fcompiler=zT--fcompiler cannot be used with meson,set compiler with the FC environment variable
)	fcompilerzUnknown vendor: "%s"r$   z--(verbose)r   r!   r   r   z[.](o|a|so|dylib)z-L)r   z-lz-Uz-D=zInvalid use of -D:zjUsing meson backend
Will pass --lower to f2py
See https://numpy.org/doc/stable/f2py/buildtools/meson.html
r   r   z -m )#tempfiler   r   r9   r   rt   
ValueErrormkdtempr   r   r   r6   extendr   r   rC   numpy.distutilsr   load_all_fcompiler_classesr   fcompiler_classrr   lowerKeyErrorr   r7   r<   r   r   ranger   tupler   rE   r5   ).r   argyrS   r   r   build_backendiremove_build_dir	build_dir_reg1_msysinfo_flagsrJ   _reg2
f2py_flagsf2py_flags2fla_reg3
flib_flagsreg_f77_f90_flagsreg_distutils_flagsfc_flagsdistutils_flagsdel_listrm   r   r   allowed_keysnvovvmap_reg5setup_flagssources	f2cmapoptr   _sourcesextra_objectslibrary_dirs	librariesundef_macrosdefine_macros
name_valueinclude_dirsbuilders.                                                 rW   run_compiler$  E  s     Dl#J
'Ly/K(5MtAHHNN=) 	}HHQUO	HHQUOHHQK$$&	JJz"E"%((12,BB%++b/RBMB XXAr=)@ACH(5611266JJY[E"xx|?u{{2"?J? XX>r:)=>CHK	
BXXab\ """B#XBcq!" {2#-3k" XX?r;)>?CHJJ?AE"xx|?u{{2"?J? XX>r:)=>CH

#67**%hi XXab\Ir->-D-DR-HIHI$'HHQRLRb4G4M4Mb4QrRORkW4( XXPrH4N)OPCHH Wc!f:?!7F
 6446#I$=$=$B$B$DECFG***,,R\)DI!"X B$$Q' . 3
1/0  QqM z?a1j!11JJ~&E #@"B2@K@ XX?r;)>?CHJ9% hhqrlGICHHHHNN9%#((1QU+,HHQUOSXXa[((12,&r+<gFIx("G$Y
;J)".A7KM7(r7!LL'%dBqIIw(r7!LL')$G1MM73}%& 4"1%++C3
z?ad#z?a$Z0M!&
34 g  D  Ei(q*-.d:,a@Q?RSYY[\q*-.a0C/DEKKMN )1L'	&!G& OOY   CA6 @> @ @> JR Q( $ IT[[]2!"8Ac!fgJ"GHI A?s    ^ 9^ ^ (	^%2^%^* ^/^//	^49^4
	^9^9^>%^>=	___-____ _ _``4	`>`^^5``c           	          t        |       dkD  rt        d      | r6| d   }t        j                  |      }||k7  rt	        d| d| d| d       |}|S )Nr   zOnly one .pyf file per callr   zIgnoring -m ro   z	 defines z to be the modulename.
)r   r   r	   get_f2py_modulenamerC   )r   rS   pyffpyf_modnames       rW   r   r     sp    
9~677|2248$zl#&	+.FH %Jr   c                  $   dt         j                  dd  v r?t         j                  j                  d       t        rt	        d       y ddlm}   |         y dt         j                  dd  v rt                y t        t         j                  dd         y )Nz--help-linkr   zUse --dep for meson builds
r   show_allr   )	r9   r   remover   rC   numpy.distutils.system_infor+  r$  r   r*  s    rW   mainr.    sk    $&23 	 =Jsxx|!"r   r   )r   )/__doc__r9   r@   pprintr   pathlibr   	itertoolsr   r   copyr   r   r   r   r	   r
   r   r   r   r   numpy.f2py._backendsr   versionr8   numpy_versionshowrC   version_infor   r?   rX   rd   r   ru   r   r   r   Actionr   r   r5   r   r   r$  r   r.  rj   r   rW   <module>r:     s    	  	              5""## }}


""g-N\ ^  /_S2 
nK\!H FUp$
	E(// 	E(aHr   