Your IP : 3.137.185.202


Current Path : /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/setuptools/command/__pycache__/upload.cpython-36.pyc

3

9��f��@s*ddlZddlmZGdd�dej�ZdS)�N)�uploadc@s(eZdZdZdd�Zdd�Zdd�ZdS)	rza
    Override default upload behavior to obtain password
    in a variety of different ways.
    cCs8tjj|�|jptj�|_|jp0|j�p0|j�|_dS)N)	�origr�finalize_options�username�getpassZgetuserZpassword�_load_password_from_keyring�_prompt_for_password)�self�r
�/usr/lib/python3.6/upload.pyrs
zupload.finalize_optionscCs2ytd�}|j|j|j�Stk
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�Sttfk
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

?>