Viewing File: /opt/alt/python-internal/lib64/python3.11/distutils/__pycache__/config.cpython-311.opt-1.pyc
!A?hW R d Z ddlZddlmZ ddlZddlmZ dZ G d de ZdS )zdistutils.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 ` e Zd ZdZdZdZdZdZdddez fdgZd gZ d
Z
d Zd Zd
Z
d Zd 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 serverr c | t j t j d d S )zReturns rc file path.~z.pypirc)ospathjoin
expanduserselfs =/opt/alt/python-internal/lib64/python3.11/distutils/config.py_get_rc_filezPyPIRCCommand._get_rc_file' s( w||BG..s33Y??? c | }t j t j |t j t j z d d 5 }| t ||fz ddd dS # 1 swxY w Y dS )zCreates a default .pypirc file.i wN)r r fdopenopenO_CREATO_WRONLYwriteDEFAULT_PYPIRC)r usernamepasswordrcfs r
_store_pypirczPyPIRCCommand._store_pypirc+ s
Yrwr2:#;UCCS
I
I ;Q
GGNh%99::: ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ;s BB Bc | }t j | r| d|z | j p| j }t }| | | }d|v r|
dd }d | d D }|g k r
d|v rdg}ni S |D ]}d|i}|
|d |d<