
    h                         d Z ddlZddlZddlmZ dgZd Z	 ddlZ e            rdZdS  ej	        d           dZdS # e
$ r  ej	        d           dZY dS w xY w)	z
External link to pyx
    N)log_loadingPYXc                      	 t          t          j        d          5 } t          j        ddg| t          j                  }ddd           n# 1 swxY w Y   |dk    S # t          j        t          f$ r Y dS w xY w)z,Returns if PyX is correctly installed or notwbpdflatexz	--version)stdoutstderrNr   F)openosdevnull
subprocess
check_callSTDOUTCalledProcessErrorOSError)r   rs     W/mounts/lovelace/software/anaconda3/lib/python3.11/site-packages/scapy/libs/test_pyx.py	_test_pyxr      s    "*d## 	Pw%z;&?-4Z=NP P PA	P 	P 	P 	P 	P 	P 	P 	P 	P 	P 	P 	P 	P 	P 	P Av )73   uus4   A $A A AA AA A76A7   zFPyX dependencies are not installed ! Please install TexLive or MikTeX.z=Can't import PyX. Won't be able to use psdump() or pdfdump().)__doc__r   r   scapy.errorr   __all__r   pyxr   infoImportError     r   <module>r      s   
  
			     # # # # # # 

 
 
	JJJy{{ abbb   KTUUU
CCCCs   > > AA