Your IP : 18.218.123.194


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

3

K�Re��@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�getpass�getuser�password�_load_password_from_keyring�_prompt_for_password)�self�r��/builddir/build/BUILDROOT/alt-python36-setuptools-38.5.2-7.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/setuptools/command/upload.pyrs
zupload.finalize_optionscCs2ytd�}|j|j|j�Stk
r,YnXdS)zM
        Attempt to load password from keyring. Suppress Exceptions.
        �keyringN)�
__import__�get_password�
repositoryr�	Exception)rrrrr
r	s
z"upload._load_password_from_keyringcCs&ytj�Sttfk
r YnXdS)zH
        Prompt for a password on the tty. Suppress Exceptions.
        N)rr�KeyboardInterrupt)rrrr
r
#szupload._prompt_for_passwordN)�__name__�
__module__�__qualname__�__doc__rr	r
rrrr
rs
r)r�distutils.commandrrrrrr
�<module>s

?>