[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.144.137.193: ~ $


��\��@s�ddlmZddlmZddlmZddlZddlZddlmZddl	m
Z
ddd	d
gZddd�Zd
dd�Z
Gdd	�d	e
�ZGdd
�d
e�ZdS)�)�convert_path)�log)�DistutilsOptionErrorN)�configparser)�Command�config_file�edit_config�option_base�setopt�localcCs�|dkrdS|dkr>tjjtjjtj�d�S|dkrtjdkr_dpbd}tjjtd	|��St	d
|��dS)z�Get the filename of the distutils, local, global, or per-user config

    `kind` must be one of "local", "global", or "user"
    rz	setup.cfg�globalz
distutils.cfg�user�posix�.�z~/%spydistutils.cfgz7config_file() type must be 'local', 'global', or 'user'N)
�os�path�join�dirname�	distutils�__file__�name�
expanduserr�
ValueError)�kind�dot�r�
/setopt.pyrs	Fc		Cs�tjd|�tj�}|j|g�x%|j�D]\}}|dkrttjd||�|j|�q9|j|�s�tjd||�|j	|�x�|j�D]�\}}|dkr tjd|||�|j
||�|j|�sLtjd||�|j|�q�tjd||||�|j|||�q�Wq9Wtjd|�|s�t
|d	��}|j|�WdQRXdS)
aYEdit a configuration file to include `settings`

    `settings` is a dictionary of dictionaries or ``None`` values, keyed by
    command/section name.  A ``None`` value means to delete the entire section,
    while a dictionary lists settings to be changed or deleted in that section.
    A setting of ``None`` means to delete that setting.
    zReading configuration from %sNzDeleting section [%s] from %szAdding new section [%s] to %szDeleting %s.%s from %sz#Deleting empty [%s] section from %szSetting %s.%s to %r in %sz
Writing %s�w)r�debugrZRawConfigParser�read�items�infoZremove_sectionZhas_sectionZadd_sectionZ
remove_option�options�set�open�write)	�filenameZsettings�dry_runZoptsZsectionr#�option�value�frrrr!s8

	
c@sIeZdZdZdddgZddgZdd�Zd
d�ZdS)r	z<Abstract base class for commands that mess with config files�
global-config�g�0save options to the site-wide distutils.cfg file�user-config�u�7save options to the current user's pydistutils.cfg file�	filename=r+�-configuration file to use (default=setup.cfg)cCsd|_d|_d|_dS)N)�
global_config�user_configr')�selfrrr�initialize_options\s		zoption_base.initialize_optionscCs�g}|jr"|jtd��|jr>|jtd��|jdk	r]|j|j�|sv|jtd��t|�dkr�td|��|\|_dS)Nrr
r�z/Must specify only one configuration file option)r4�appendrr5r'�lenr)r6�	filenamesrrr�finalize_optionsas			zoption_base.finalize_optionsN)r,r-r.)r/r0r1)r2r+r3)�__name__�
__module__�__qualname__�__doc__�user_options�boolean_optionsr7r<rrrrr	Ls	c@sieZdZdZdZddddgejZejdgZdd�Zdd�Z	dd�Z
dS)r
z#Save command-line options to a filez1set an option in setup.cfg or another config file�command=�c�command to set an option for�option=�o�
option to set�
set-value=�s�value of the option�remove�r�remove (unset) the valuecCs5tj|�d|_d|_d|_d|_dS)N)r	r7�commandr)�	set_valuerL)r6rrrr7�s

			zsetopt.initialize_optionscCs`tj|�|jdks+|jdkr7td��|jdkr\|jr\td��dS)Nz%Must specify --command *and* --optionz$Must specify --set-value or --remove)r	r<rOr)rrPrL)r6rrrr<�s

zsetopt.finalize_optionscCs;t|j|j|jjdd�|jii|j�dS)N�-�_)rr'rOr)�replacerPr()r6rrr�run�s$z
setopt.runN)rCrDrE)rFrGrH)rIrJrK)rLrMrN)r=r>r?r@�descriptionr	rArBr7r<rTrrrrr
ss
)Zdistutils.utilrrrZdistutils.errorsrrZsetuptools.extern.six.movesrZ
setuptoolsr�__all__rrr	r
rrrr�<module>s+'

Filemanager

Name Type Size Permission Actions
__init__.cpython-35.opt-1.pyc File 681 B 0644
__init__.cpython-35.pyc File 681 B 0644
alias.cpython-35.opt-1.pyc File 2.49 KB 0644
alias.cpython-35.pyc File 2.49 KB 0644
bdist_egg.cpython-35.opt-1.pyc File 14.54 KB 0644
bdist_egg.cpython-35.pyc File 14.54 KB 0644
bdist_rpm.cpython-35.opt-1.pyc File 1.74 KB 0644
bdist_rpm.cpython-35.pyc File 1.74 KB 0644
bdist_wininst.cpython-35.opt-1.pyc File 926 B 0644
bdist_wininst.cpython-35.pyc File 926 B 0644
build_clib.cpython-35.opt-1.pyc File 2.47 KB 0644
build_clib.cpython-35.pyc File 2.47 KB 0644
build_ext.cpython-35.opt-1.pyc File 10.59 KB 0644
build_ext.cpython-35.pyc File 10.62 KB 0644
build_py.cpython-35.opt-1.pyc File 8.99 KB 0644
build_py.cpython-35.pyc File 8.99 KB 0644
develop.cpython-35.opt-1.pyc File 6.74 KB 0644
develop.cpython-35.pyc File 6.74 KB 0644
easy_install.cpython-35.opt-1.pyc File 68.1 KB 0644
easy_install.cpython-35.pyc File 68.1 KB 0644
egg_info.cpython-35.opt-1.pyc File 22.17 KB 0644
egg_info.cpython-35.pyc File 22.17 KB 0644
install.cpython-35.opt-1.pyc File 4.08 KB 0644
install.cpython-35.pyc File 4.08 KB 0644
install_egg_info.cpython-35.opt-1.pyc File 2.48 KB 0644
install_egg_info.cpython-35.pyc File 2.48 KB 0644
install_lib.cpython-35.opt-1.pyc File 4.08 KB 0644
install_lib.cpython-35.pyc File 4.12 KB 0644
install_scripts.cpython-35.opt-1.pyc File 2.33 KB 0644
install_scripts.cpython-35.pyc File 2.33 KB 0644
py36compat.cpython-35.opt-1.pyc File 4.75 KB 0644
py36compat.cpython-35.pyc File 4.75 KB 0644
register.cpython-35.opt-1.pyc File 531 B 0644
register.cpython-35.pyc File 531 B 0644
rotate.cpython-35.opt-1.pyc File 2.63 KB 0644
rotate.cpython-35.pyc File 2.63 KB 0644
saveopts.cpython-35.opt-1.pyc File 896 B 0644
saveopts.cpython-35.pyc File 896 B 0644
sdist.cpython-35.opt-1.pyc File 6.43 KB 0644
sdist.cpython-35.pyc File 6.43 KB 0644
setopt.cpython-35.opt-1.pyc File 4.76 KB 0644
setopt.cpython-35.pyc File 4.76 KB 0644
test.cpython-35.opt-1.pyc File 8.4 KB 0644
test.cpython-35.pyc File 8.4 KB 0644
upload.cpython-35.opt-1.pyc File 1.34 KB 0644
upload.cpython-35.pyc File 1.34 KB 0644
upload_docs.cpython-35.opt-1.pyc File 6.44 KB 0644
upload_docs.cpython-35.pyc File 6.46 KB 0644