Hacked By AnonymousFox
�
�܋fy+ � � � d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlZddlZddl
mZ ddlmZmZ ddlmZmZ ddlmZ dadaej dk r8 ee� � j j j Z ee� d � � � � Zd
� Zd� Z d� Z!d
� Z"e"g g g dfd�� � Z#e"g g g ddfd�� � Z$da%d� Z&d� Z'd� Z(d� Z)e"d� � � Z* G d� d� � Z+d� Z,ej- d� � � Z.dS )z�
Utility functions for
- building and importing modules on test time, using a temporary location
- detecting if compilers are present
- determining paths to tests
� N)�Path)�asbytes�asstr)�temppath�IS_WASM)�
import_modulei �cygwinz**/*.dllc �� � t �e t j � t � � n# t $ r Y nw xY w t j t � � n# t $ r Y nw xY wd a d S d S �N)�_module_dir�sys�path�remove�
ValueError�shutil�rmtree�OSError� � �h/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/f2py/tests/util.py�_cleanupr '