[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.128.226.114: ~ $
U

+�a	�@sldZddlZddlmZddlmZddlmZm	Z	ddl
Z
ddlmZGdd	�d	e�Z
Gd
d�de�ZdS)zH
Customized Mixin2to3 support:

 - adds support for converting doctests
�N)�	Mixin2to3)�log)�RefactoringTool�get_fixers_from_package�)�SetuptoolsDeprecationWarningc@s$eZdZdd�Zdd�Zdd�ZdS)�DistutilsRefactoringToolcOstj|f|��dS�N)r�error)�self�msg�args�kw�r�=/tmp/pip-install-1bd_1mtk/setuptools/setuptools/lib2to3_ex.py�	log_errorsz"DistutilsRefactoringTool.log_errorcGstj|f|��dSr	)r�info�rrr
rrr�log_messagesz$DistutilsRefactoringTool.log_messagecGstj|f|��dSr	)r�debugrrrr�	log_debugsz"DistutilsRefactoringTool.log_debugN)�__name__�
__module__�__qualname__rrrrrrrrsrc@s&eZdZd	dd�Zdd�Zdd�ZdS)
rFcCs~|jjdk	rdS|sdSt�dt�t�dd�|��|��|�	�|rnt
jrzt|j
�}|j|ddd�nt�||�dS)NTz�2to3 support is deprecated. If the project still requires Python 2 support, please migrate to a single-codebase solution or employ an independent conversion process.zFixing � )�writeZ
doctests_only)�distributionZuse_2to3�warnings�warnrrr�join�_Mixin2to3__build_fixer_names�_Mixin2to3__exclude_fixers�
setuptoolsZrun_2to3_on_doctestsr�fixer_names�refactor�
_Mixin2to3�run_2to3)r�filesZdoctests�rrrrr&s �
zMixin2to3.run_2to3cCsZ|jr
dSg|_tjD]}|j�t|��q|jjdk	rV|jjD]}|j�t|��q@dSr	)r#r"Zlib2to3_fixer_packages�extendrrZuse_2to3_fixers)r�prrrZ__build_fixer_names4s
zMixin2to3.__build_fixer_namescCsJt|dg�}|jjdk	r&|�|jj�|D]}||jkr*|j�|�q*dS)NZexclude_fixers)�getattrrZuse_2to3_exclude_fixersr)r#�remove)rZexcluded_fixersZ
fixer_namerrrZ__exclude_fixers>s
zMixin2to3.__exclude_fixersN)F)rrrr&r r!rrrrrs

r)�__doc__r�distutils.utilrr%�	distutilsr�lib2to3.refactorrrr"Z_deprecation_warningrrrrrr�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-38.pyc File 8.42 KB 0644
_deprecation_warning.cpython-38.pyc File 520 B 0644
_imp.cpython-38.pyc File 2.01 KB 0644
archive_util.cpython-38.pyc File 5.59 KB 0644
build_meta.cpython-38.pyc File 8.74 KB 0644
config.cpython-38.pyc File 19.42 KB 0644
dep_util.cpython-38.pyc File 827 B 0644
depends.cpython-38.pyc File 5.08 KB 0644
dist.cpython-38.pyc File 35.36 KB 0644
errors.cpython-38.pyc File 820 B 0644
extension.cpython-38.pyc File 1.87 KB 0644
glob.cpython-38.pyc File 3.59 KB 0644
installer.cpython-38.pyc File 2.69 KB 0644
launch.cpython-38.pyc File 851 B 0644
lib2to3_ex.cpython-38.pyc File 2.6 KB 0644
monkey.cpython-38.pyc File 4.48 KB 0644
msvc.cpython-38.pyc File 41.73 KB 0644
namespaces.cpython-38.pyc File 3.47 KB 0644
package_index.cpython-38.pyc File 31.74 KB 0644
py34compat.cpython-38.pyc File 454 B 0644
sandbox.cpython-38.pyc File 15.05 KB 0644
unicode_utils.cpython-38.pyc File 1.06 KB 0644
version.cpython-38.pyc File 296 B 0644
wheel.cpython-38.pyc File 7.03 KB 0644
windows_support.cpython-38.pyc File 993 B 0644