Your IP : 216.73.216.213


Current Path : /opt/alt/python35/lib64/python3.5/site-packages/numpy/f2py/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/site-packages/numpy/f2py/__pycache__/setup.cpython-35.pyc



(��^?�@sgdZddlmZmZdZddlZddlZddlmZddl	m
Z
ddlmZddl
mZdd	lmZd
d�Zddd
d�Zedkrcedd�Zede�ej�Zded<dddddddddddged<ed ed!d"d#d$d%d&d'd$d(d&d)d*d+d,d-d.d/d0d1d2d3ge�dS)4a�
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)�versioncCs'td�jtj�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#!)r	r
rr)�set�intersection�sys�argv�
executable�rr�C/opt/alt/python35/lib64/python3.5/site-packages/numpy/f2py/setup.py�_get_f2py_shebang sr�cCsltd||�}|jd�|jdd�|j�dd�}|j|�tjd|j��|S)N�f2py�testszsrc/fortranobject.czsrc/fortranobject.hc	Ss+dtjjtj�dd�}|dd�dkrM|dd
�d}dtjkr||dd�dkr||d}tjj||�}tt|�r't	j
d|�t|d	�}|jt
�d
�tjjtjjt�d�}t|��}|j|j��WdQRX|j�|S)Nr��z.exez.pyr�zCreating %s�w�
z__main__.py���r���)�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�configr0rrr�
configuration-s
	

r9�__main__r7z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�classifiersr�descriptionz,F2PY - Fortran to Python Interface Generaton�authorzPearu Peterson�author_emailzpearu@cens.ioc.ee�
maintainer�maintainer_email�license�BSD�	platformsz%Unix, Windows (mingw|cygwin), Mac OSX�long_descriptionaMThe 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.�urlz#http://cens.ioc.ee/projects/f2py2e/�keywordsZFortranr)�__doc__�
__future__rr�__version__rr�distutils.dep_utilr�numpy.distutilsr�numpy.distutils.corer�numpy.distutils.misc_utilrrrr9�__name__r8�print�todictrrrr�<module>sN
"