| Server IP : 46.101.140.223 / Your IP : 216.73.217.61 Web Server : nginx/1.22.1 System : Linux debian-s-1vcpu-1gb-fra1-01 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : deploy-others ( 1001) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/numpy/distutils/command/__pycache__/ |
Upload File : |
�
���c�y � �h � d Z ddlZddlZddlZddlZddlZddlmZ ddlm Z m
Z
ddlmZ ddl
mZmZ ddlmZ ddlmZmZmZmZmZ dd lmZ dd lmZ d
� Z G d� dej � � Z ej d
ej � � j! Z" ej dej � � j! Z# ej dej � � j! Z$ ej dej � � j% Z& ej dej � � j% Z'd� Z(d� Z)d� Z* ej dej � � j! Z+ ej dej � � j! Z,d� Z-dS )z Build swig and f2py sources.
� N)� build_ext)�newer_group�newer)�get_platform)�DistutilsError�DistutilsSetupError)�log)�fortran_ext_match�
appendpath� is_string�is_sequence�get_cmd)�process_filec �� � t j d� � }t |d� � 5 }t | d� � 5 }|D ]�}|� |� � }|rY|� |� d|� d� � z ||� d� � � � � � �r|� |� � �� ddd� � n# 1 swxY w Y ddd� � dS # 1 swxY w Y dS )zPSubstitute any occurrence of @foo@ by d['foo'] from source file into
target.z@([a-zA-Z_]+)@�r�wz@%s@� N)�re�compile�open�search�write�replace�group)�target�source�d�var�fs�ft�l�ms �C/usr/lib/python3/dist-packages/numpy/distutils/command/build_src.py�
subst_varsr$ sc � �
�*�%�
&�
&�C�
�f�c� � � �b�
�&�#�
�
� �"��
�
���J�J�q�M�M��� ��H�H�Q�Y�Y�v�����
�
�':�A�a�g�g�a�j�j�M�J�J�K�K�K�K��H�H�Q�K�K�K�K�
� � � � � � � � � � � ���� � � � � � � � � � � � � � � � ���� � � � � � s5 �C&�BC�C&�C �C&�C �C&�&C*�-C*c � � e Zd ZdZg d�Zg d�Zg Zd� Zd� Zd� Z d� Z
d� Zd � Zd
� Z
d� Zd� Zd
� Zd� Zd� Zd� Zg fd�Zd� Zd� Zd� Zd� Zd� ZdS )� build_srcz1build sources from SWIG, F2PY files or a function)
)z
build-src=r zdirectory to "build" sources to)z
f2py-opts=Nz!list of f2py command line options)zswig=Nzpath to the SWIG executable)z
swig-opts=Nz!list of SWIG command line options)zswig-cppNzAmake SWIG create C++ files (default is autodetected from sources))z
f2pyflags=Nz3additional flags to f2py (use --f2py-opts= instead))z
swigflags=Nz3additional flags to swig (use --swig-opts= instead))�force�fz2forcibly build everything (ignore file timestamps))�inplace�iziignore build-lib and put compiled extensions into the source directory alongside your pure Python modules)�verbose-cfgNzJchange logging level from WARN to INFO which will show all compiler output)r'