
    ch                        S SK Jr  S SKrS SKrS SKrS SKr\R                  " 5       R                  5       r\S:H  r	\S:H  r
\S:H  =(       d    S\;   rS
S jrS
S jrSS	 jrg)    )annotationsNwindowsdarwinlinuxbsdc                 d    [        [        R                  " S[        R                  S   5      5      $ )zReturn if streamlit running in pex.

Pex modifies sys.path so the pex file is the first path and that's
how we determine we're running in the pex file.
z.*pex$r   )boolrematchsyspath     eC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\streamlit/env_util.pyis_pexr      s"     CHHQK011r   c                     SSK n U R                  5       S   nUS   nUR                  [        R                  R                  SS5      5      (       a  gUS;   $ )	z*Return True if running in the Python REPL.r   N   binipythonT)z<stdin>z<string>)inspectstackendswithosr   join)r   
root_framefilenames      r   is_replr   %   sO    $J!}HeY788 ...r   c                "    SSK Jn  U" U 5      SL$ )z"Check if executable is in OS path.r   )whichN)shutilr    )namer    s     r   is_executable_in_pathr#   4   s    ;d""r   )returnr	   )r"   strr$   r	   )
__future__r   r   platformr
   r   systemlowerSYSTEM
IS_WINDOWS	IS_DARWINIS_LINUX_OR_BSDr   r   r#   r   r   r   <module>r.      sa    # 	  	 
			 	 	"y 
h	W$:%6/2/#r   