
    G/Pho                        d dl Z d dlmZ d dlZej                            d          ej                            d          ej                            dddg          ej        j        d                                                 ZdS )	    N)Pathzignore::DeprecationWarningzignore::ResourceWarningmodez--onedir	--onefilec           
      6   t          j        d          j        }t          t                                        d                                          }dt          |dz            dt          |dz            dt          |          | t          |          g} ||           | dk    r|dz  |j        z  }n|dz  |j        z  |j        z  }t          j        t          |          gd	t          j
        
          }|j                                        dk    sJ dS )z7Compile and run pyinstaller-smoke.py using PyInstaller.zPyInstaller.__main__zpyinstaller-smoke.pyz
--workpathbuildz
--distpathdistz
--specpathr   T)checkstdouts
   I made it!N)pytestimportorskiprunr   __file__	with_nameresolvestrstem
subprocessPIPEr
   strip)r   tmp_pathpyinstaller_clisourceargsexeps          i/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/numpy/_pyinstaller/tests/test_pyinstaller.pytest_pyinstallerr      s    )*@AAEO(^^%%&<==EEGGF 	c(W,--c(V+,,c(mmFD OD{&+-&+-;CzjoFFFA8>>},,,,,,    )	r   pathlibr   r   markfilterwarningsparametrizeslowr    r   r   <module>r%      s               899566*k!:;;- -  <; 76 :9
- - -r   