HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //snap/certbot/current/lib/python3.12/site-packages/uv/__pycache__/__main__.cpython-312.pyc
�

�F�h���N�ddlZddlZddlmZdefd�Zdd�Zedk(re�yy)�N)�find_uv_bin�returnc���tjd�}|r|Stjjtj
d�}tjj
|�rtj
Sy)zN
    Find the virtual environment path for the current Python executable.
    �VIRTUAL_ENVz
pyvenv.cfg�)�os�getenv�path�join�sys�prefix�exists)�value�venv_markers  �{/build/snapcraft-certbot-c9aaebe726f8beb59a0eb2d8e1671bc4/parts/certbot/install/lib/python3.12/site-packages/uv/__main__.py�_detect_virtualenvrsQ��
�I�I�m�$�E�����'�'�,�,�s�z�z�<�8�K�	�w�w�~�~�k�"��z�z��
�c�:�tjt��}tjj	�}t�}|r|j
d|�tj|d<tjdk(rLddl
}	|j|gtjdd�|��}tjj�ytj ||gtjdd�|��y#t$rtjd�Y�mwxYw)Nr�UV_INTERNAL__PARENT_INTERPRETER�win32r�)�env�)r�fsdecoder�environ�copyr�
setdefaultr�
executable�platform�
subprocess�run�argv�KeyboardInterrupt�exit�
returncode�execvpe)�uvr�venvr �completed_processs     r�_runr*s���	���[�]�	#�B�
�*�*�/�/�
�C���D�����}�d�+�.1�^�^�C�)�*�
�|�|�w���	� *����/B�S�X�X�a�b�\�/B��� L��	���"�-�-�.�
�
�
�2��*�S�X�X�a�b�\�*��4��!�	��H�H�Q�K�	�s�'C9�9D�D�__main__)rN)rrr'r�strrr*�__name__�rr�<module>r/s3��	�
���C��&5�2�z���F�r