[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.147.73.9: ~ $
U

��,a��@s<dZddlZddlmZddlmZdZGdd�de�ZdS)z�distutils.pypirc

Provides the PyPIRCCommand class, the base class for the command classes
that uses .pypirc in the distutils.command package.
�N)�RawConfigParser)�CommandzE[distutils]
index-servers =
    pypi

[pypi]
username:%s
password:%s
c@sheZdZdZdZdZdZdZdddefdgZd	gZ	d
d�Z
dd
�Zdd�Zdd�Z
dd�Zdd�ZdS)�
PyPIRCCommandz;Base command that knows how to handle the .pypirc file
    zhttps://upload.pypi.org/legacy/�pypiNzrepository=�rzurl of repository [default: %s])�
show-responseNz&display full response text from serverrcCstj�tj�d�d�S)zReturns rc file path.�~z.pypirc)�os�path�join�
expanduser��self�r�5/opt/alt/python38/lib64/python3.8/distutils/config.py�_get_rc_file&szPyPIRCCommand._get_rc_filec	CsH|��}t�t�|tjtjBd�d��}|�t||f�W5QRXdS)zCreates a default .pypirc file.i��wN)rr	�fdopen�open�O_CREAT�O_WRONLY�write�DEFAULT_PYPIRC)r�username�password�rc�frrr�
_store_pypirc*s zPyPIRCCommand._store_pypirccCs�|��}tj�|��r�|�d|�|jp.|j}t�}|�|�|�	�}d|k�rF|�
dd�}dd�|�d�D�}|gkr�d|kr�dg}niS|D]�}d|i}|�
|d	�|d	<d
|jfd|jfdfD].\}	}
|�
||	�r�|�
||	�||	<q�|
||	<q�|dk�r ||jdfk�r |j|d
<|S|d|k�s:|d
|kr�|Sq�nRd
|k�r�d
}|�
|d
��rp|�
|d
�}n|j}|�
|d	�|�
|d�|||jd�SiS)zReads the .pypirc file.zUsing PyPI login from %sZ	distutilsz
index-serverscSs g|]}|��dkr|���qS)�)�strip)�.0�serverrrr�
<listcomp>=s�z.PyPIRCCommand._read_pypirc.<locals>.<listcomp>�
rr!r�
repository�realm)rNzserver-loginr)rrr$r!r%)rr	r
�existsZannouncer$�DEFAULT_REPOSITORYr�read�sections�get�split�
DEFAULT_REALMZ
has_option)rrr$Zconfigr)Z
index_serversZ_serversr!Zcurrent�key�defaultrrr�_read_pypirc0sb

���

�

�


�zPyPIRCCommand._read_pypirccCs8ddl}|�dd�}|�|�d�dd�}|���|�S)z%Read and decode a PyPI HTTP response.rNzcontent-typez
text/plain��charset�ascii)�cgiZ	getheaderZparse_headerr*r(�decode)rZresponser3Zcontent_type�encodingrrr�_read_pypi_responsepsz!PyPIRCCommand._read_pypi_responsecCsd|_d|_d|_dS)zInitialize options.Nr)r$r%Z
show_responser
rrr�initialize_optionswsz PyPIRCCommand.initialize_optionscCs(|jdkr|j|_|jdkr$|j|_dS)zFinalizes options.N)r$r'r%r,r
rrr�finalize_options}s

zPyPIRCCommand.finalize_options)�__name__�
__module__�__qualname__�__doc__r'r,r$r%Zuser_optionsZboolean_optionsrrr/r6r7r8rrrrrs&���@r)r<r	ZconfigparserrZ
distutils.cmdrrrrrrr�<module>s


Filemanager

Name Type Size Permission Actions
__init__.cpython-38.opt-1.pyc File 399 B 0644
__init__.cpython-38.opt-2.pyc File 217 B 0644
__init__.cpython-38.pyc File 399 B 0644
_msvccompiler.cpython-38.opt-1.pyc File 12.62 KB 0644
_msvccompiler.cpython-38.opt-2.pyc File 11.5 KB 0644
_msvccompiler.cpython-38.pyc File 12.68 KB 0644
archive_util.cpython-38.opt-1.pyc File 6.4 KB 0644
archive_util.cpython-38.opt-2.pyc File 4.41 KB 0644
archive_util.cpython-38.pyc File 6.4 KB 0644
bcppcompiler.cpython-38.opt-1.pyc File 6.38 KB 0644
bcppcompiler.cpython-38.opt-2.pyc File 6.1 KB 0644
bcppcompiler.cpython-38.pyc File 6.38 KB 0644
ccompiler.cpython-38.opt-1.pyc File 32.41 KB 0644
ccompiler.cpython-38.opt-2.pyc File 16.48 KB 0644
ccompiler.cpython-38.pyc File 32.53 KB 0644
cmd.cpython-38.opt-1.pyc File 13.64 KB 0644
cmd.cpython-38.opt-2.pyc File 7.91 KB 0644
cmd.cpython-38.pyc File 13.64 KB 0644
config.cpython-38.opt-1.pyc File 3.44 KB 0644
config.cpython-38.opt-2.pyc File 3.06 KB 0644
config.cpython-38.pyc File 3.44 KB 0644
core.cpython-38.opt-1.pyc File 6.47 KB 0644
core.cpython-38.opt-2.pyc File 3.17 KB 0644
core.cpython-38.pyc File 6.47 KB 0644
cygwinccompiler.cpython-38.opt-1.pyc File 8.42 KB 0644
cygwinccompiler.cpython-38.opt-2.pyc File 6.83 KB 0644
cygwinccompiler.cpython-38.pyc File 8.42 KB 0644
debug.cpython-38.opt-1.pyc File 209 B 0644
debug.cpython-38.opt-2.pyc File 209 B 0644
debug.cpython-38.pyc File 209 B 0644
dep_util.cpython-38.opt-1.pyc File 2.67 KB 0644
dep_util.cpython-38.opt-2.pyc File 1.25 KB 0644
dep_util.cpython-38.pyc File 2.67 KB 0644
dir_util.cpython-38.opt-1.pyc File 5.7 KB 0644
dir_util.cpython-38.opt-2.pyc File 3.38 KB 0644
dir_util.cpython-38.pyc File 5.7 KB 0644
dist.cpython-38.opt-1.pyc File 33.7 KB 0644
dist.cpython-38.opt-2.pyc File 24.63 KB 0644
dist.cpython-38.pyc File 33.7 KB 0644
errors.cpython-38.opt-1.pyc File 5.14 KB 0644
errors.cpython-38.opt-2.pyc File 2.65 KB 0644
errors.cpython-38.pyc File 5.14 KB 0644
extension.cpython-38.opt-1.pyc File 6.78 KB 0644
extension.cpython-38.opt-2.pyc File 3.37 KB 0644
extension.cpython-38.pyc File 6.78 KB 0644
fancy_getopt.cpython-38.opt-1.pyc File 10.28 KB 0644
fancy_getopt.cpython-38.opt-2.pyc File 7.54 KB 0644
fancy_getopt.cpython-38.pyc File 10.42 KB 0644
file_util.cpython-38.opt-1.pyc File 5.81 KB 0644
file_util.cpython-38.opt-2.pyc File 3.72 KB 0644
file_util.cpython-38.pyc File 5.81 KB 0644
filelist.cpython-38.opt-1.pyc File 9.56 KB 0644
filelist.cpython-38.opt-2.pyc File 6.76 KB 0644
filelist.cpython-38.pyc File 9.65 KB 0644
log.cpython-38.opt-1.pyc File 2.28 KB 0644
log.cpython-38.opt-2.pyc File 2.22 KB 0644
log.cpython-38.pyc File 2.28 KB 0644
msvc9compiler.cpython-38.opt-1.pyc File 17.06 KB 0644
msvc9compiler.cpython-38.opt-2.pyc File 15.47 KB 0644
msvc9compiler.cpython-38.pyc File 17.11 KB 0644
msvccompiler.cpython-38.opt-1.pyc File 14.39 KB 0644
msvccompiler.cpython-38.opt-2.pyc File 12.85 KB 0644
msvccompiler.cpython-38.pyc File 14.39 KB 0644
spawn.cpython-38.opt-1.pyc File 5 KB 0644
spawn.cpython-38.opt-2.pyc File 3.73 KB 0644
spawn.cpython-38.pyc File 5 KB 0644
sysconfig.cpython-38.opt-1.pyc File 11.87 KB 0644
sysconfig.cpython-38.opt-2.pyc File 8.47 KB 0644
sysconfig.cpython-38.pyc File 11.87 KB 0644
text_file.cpython-38.opt-1.pyc File 8.26 KB 0644
text_file.cpython-38.opt-2.pyc File 3.28 KB 0644
text_file.cpython-38.pyc File 8.26 KB 0644
unixccompiler.cpython-38.opt-1.pyc File 6.83 KB 0644
unixccompiler.cpython-38.opt-2.pyc File 6.22 KB 0644
unixccompiler.cpython-38.pyc File 6.83 KB 0644
util.cpython-38.opt-1.pyc File 15.2 KB 0644
util.cpython-38.opt-2.pyc File 9.45 KB 0644
util.cpython-38.pyc File 15.2 KB 0644
version.cpython-38.opt-1.pyc File 7.11 KB 0644
version.cpython-38.opt-2.pyc File 3.9 KB 0644
version.cpython-38.pyc File 7.15 KB 0644
versionpredicate.cpython-38.opt-1.pyc File 5.03 KB 0644
versionpredicate.cpython-38.opt-2.pyc File 2.61 KB 0644
versionpredicate.cpython-38.pyc File 5.03 KB 0644