Your IP : 13.59.68.161


Current Path : /opt/alt/python35/lib/python3.5/site-packages/setuptools/command/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib/python3.5/site-packages/setuptools/command/__pycache__/upload.cpython-35.pyc



�Re��@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�getpass�getuser�password�_load_password_from_keyring�_prompt_for_password)�self�r��/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/command/upload.pyrs		zupload.finalize_optionscCs?y&td�}|j|j|j�SWntk
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�SWnttfk
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

?>