
    wg	                         d Z ddg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m
Z
 e	j                  Ze	j                  Zd	 Zd
 Zd Zy)a3  Fortran to Python Interface Generator.

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.
run_mainget_include    N)VisibleDeprecationWarning   )f2py2e)diagnosec                      t         j                  j                  t         j                  j                  t              d      S )as  
    Return the directory that contains the ``fortranobject.c`` and ``.h`` files.

    .. note::

        This function is not needed when building an extension with
        `numpy.distutils` directly from ``.f`` and/or ``.pyf`` files
        in one go.

    Python extension modules built with f2py-generated code need to use
    ``fortranobject.c`` as a source file, and include the ``fortranobject.h``
    header. This function can be used to obtain the directory containing
    both of these files.

    Returns
    -------
    include_path : str
        Absolute path to the directory containing ``fortranobject.c`` and
        ``fortranobject.h``.

    Notes
    -----
    .. versionadded:: 1.21.1

    Unless the build system you are using has specific support for f2py,
    building a Python extension using a ``.pyf`` signature file is a two-step
    process. For a module ``mymod``:

    * Step 1: run ``python -m numpy.f2py mymod.pyf --quiet``. This
      generates ``mymodmodule.c`` and (if needed)
      ``mymod-f2pywrappers.f`` files next to ``mymod.pyf``.
    * Step 2: build your Python extension module. This requires the
      following source files:

      * ``mymodmodule.c``
      * ``mymod-f2pywrappers.f`` (if it was generated in Step 1)
      * ``fortranobject.c``

    See Also
    --------
    numpy.get_include : function that returns the numpy include directory

    src)ospathjoindirname__file__     X/home/mcse/projects/flask/flask-venv/lib/python3.12/site-packages/numpy/f2py/__init__.pyr   r      s'    X 77<<1599r   c                 r    | dk(  rddl m}  |t              }|S t        dj	                  t        |             )Ntestr   )PytestTesterz!module {!r} has no attribute {!r})numpy._pytesttesterr   __name__AttributeErrorformat)attrr   r   s      r   __getattr__r   I   s=     v~4H%  %%+VHd%;= 	=r   c                  L    t        t               j                         dhz        S )Nr   )listglobalskeysr   r   r   __dir__r    W   s    	 F8+,,r   )__doc____all__sys
subprocessr   warningsnumpy.exceptionsr    r   r   r   mainr   r   r    r   r   r   <module>r)      sM    }
% 
  	  6  ??{{,:^=-r   