Your IP : 216.73.216.213


Current Path : /opt/alt/python37/lib64/python3.7/site-packages/numpy/f2py/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/site-packages/numpy/f2py/__pycache__/setup.cpython-37.pyc

B

��Fd?�@s�dZddlmZmZdZddlZddlZddlmZddl	m
Z
ddlmZddl
mZdd	lmZd
d�Zd*d
d�Zedkr�edd�Zede�e��Zded<dddddddddddged<efed d!d"d!d"d#d$d%d&d'd(gd)�e��dS)+a�
setup.py for installing F2PY

Usage:
   python setup.py install

Copyright 2001-2005 Pearu Peterson all rights reserved,
Pearu Peterson <pearu@cens.ioc.ee>
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.
$Revision: 1.32 $
$Date: 2005/01/30 17:22:14 $
Pearu Peterson

�)�division�print_functionz4$Id: setup.py,v 1.32 2005/01/30 17:22:14 pearu Exp $N)�newer)�log)�setup)�
Configuration)�versioncCstd��tj�rdSdtjS)z� Return shebang line for f2py script

    If we are building a binary distribution format, then the shebang line
    should be ``#!python`` rather than ``#!`` followed by the contents of
    ``sys.executable``.
    )�bdist_wheel�	bdist_egg�
bdist_wininst�	bdist_rpmz#!pythonz#!)�set�intersection�sys�argv�
executable�rr�C/opt/alt/python37/lib64/python3.7/site-packages/numpy/f2py/setup.py�_get_f2py_shebang sr�cCsPtd||�}|�d�|�dd�|��dd�}|�|�t�d|���|S)N�f2py�testszsrc/fortranobject.czsrc/fortranobject.hc	Ss�dtj�tj�dd�}|dd�dkr:|dd�d}dtjkr\|dd�dkr\|d}tj�||�}tt|�r�t	�
d|�t|d	�}|�t
�d
�tj�tj�t�d�}t|��}|�|���WdQRX|��|S)Nr����z.exez.pyr���zCreating %s�w�
z__main__.py)�os�path�basenamerrr�joinr�__file__r�info�open�writer�dirname�read�close)�	build_dir�f2py_exe�target�f�mainloc�mfrrr�generate_f2py_py8s


z'configuration.<locals>.generate_f2py_pyzF2PY Version %s)r�add_data_dir�add_data_files�make_svn_version_py�add_scriptsrr"�get_version)�parent_package�top_path�configr.rrr�
configuration-s

r7�__main__)r5zF2PY Versionz;http://cens.ioc.ee/projects/f2py2e/2.x/F2PY-2-latest.tar.gz�download_urlz+Development Status :: 5 - Production/StablezIntended Audience :: Developersz%Intended Audience :: Science/Researchz(License :: OSI Approved :: NumPy LicensezNatural Language :: Englishz"Operating System :: OS IndependentzProgramming Language :: CzProgramming Language :: FortranzProgramming Language :: PythonzTopic :: Scientific/Engineeringz0Topic :: Software Development :: Code Generators�classifiersz,F2PY - Fortran to Python Interface GeneratonzPearu Petersonzpearu@cens.ioc.ee�BSDz%Unix, Windows (mingw|cygwin), Mac OSXaMThe Fortran to Python Interface Generator, or F2PY for short, is a
command line tool (f2py) for generating Python C/API modules for
wrapping Fortran 77/90/95 subroutines, accessing common blocks from
Python, and calling Python functions from Fortran (call-backs).
Interfacing subroutines/data from Fortran 90/95 modules is supported.z#http://cens.ioc.ee/projects/f2py2e/ZFortranr)r�description�author�author_email�
maintainer�maintainer_email�license�	platforms�long_description�url�keywords)rN)�__doc__�
__future__rr�__version__rr�distutils.dep_utilr�numpy.distutilsr�numpy.distutils.corer�numpy.distutils.misc_utilrrrr7�__name__r6�print�todictrrrr�<module>sN
"