MOON
Server: Apache
System: Linux vps.erhabenn.com.br 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User: sonne (1011)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //opt/alt/python35/lib/python3.5/site-packages/setuptools/command/__pycache__/upload.cpython-35.pyc


��\��@s9ddlZddlmZGdd�dej�ZdS)�N)�uploadc@s:eZdZdZdd�Zdd�Zdd�ZdS)	rza
    Override default upload behavior to obtain password
    in a variety of different ways.
    cCsPtjj|�|jp"tj�|_|jpF|j�pF|j�|_dS)N)	�origr�finalize_options�username�getpassZgetuserZpassword�_load_password_from_keyring�_prompt_for_password)�self�r
�
/upload.pyrs		zupload.finalize_optionscCs?y&td�}|j|j|j�SWntk
r:YnXdS)zM
        Attempt to load password from keyring. Suppress Exceptions.
        �keyringN)�
__import__Zget_passwordZ
repositoryr�	Exception)r	rr
r
rrs

z"upload._load_password_from_keyringcCs-ytj�SWnttfk
r(YnXdS)zH
        Prompt for a password on the tty. Suppress Exceptions.
        N)rr�KeyboardInterrupt)r	r
r
rr#szupload._prompt_for_passwordN)�__name__�
__module__�__qualname__�__doc__rrrr
r
r
rrs
r)rZdistutils.commandrrr
r
r
r�<module>s