AlkantarClanX12
Current Path : /proc/self/root/lib/python3.6/site-packages/setuptools/command/__pycache__/ |
Current File : //proc/self/root/lib/python3.6/site-packages/setuptools/command/__pycache__/upload.cpython-36.pyc |
3 9��f� � @ s* d dl Z d dlmZ G dd� dej�ZdS )� N)�uploadc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) r za Override default upload behavior to obtain password in a variety of different ways. c C s8 t jj| � | jptj� | _| jp0| j� p0| j� | _d S )N) �origr �finalize_options�username�getpassZgetuserZpassword�_load_password_from_keyring�_prompt_for_password)�self� r �/usr/lib/python3.6/upload.pyr s zupload.finalize_optionsc C s2 yt d�}|j| j| j�S tk r, Y nX dS )zM Attempt to load password from keyring. Suppress Exceptions. �keyringN)� __import__Zget_passwordZ repositoryr � Exception)r r r r r r s z"upload._load_password_from_keyringc C s&