|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /opt/alt/python36/lib/python3.6/site-packages/setuptools/command/__pycache__/ |
3
ՔRe� � @ 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�getpass�getuser�password�_load_password_from_keyring�_prompt_for_password)�self� r ��/builddir/build/BUILDROOT/alt-python36-setuptools-38.5.2-7.el9.x86_64/opt/alt/python36/lib/python3.6/site-packages/setuptools/command/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__�get_password�
repositoryr � Exception)r r r r r
r s
z"upload._load_password_from_keyringc C s&