Your IP : 3.142.199.54


Current Path : /opt/alt/python27/lib/python2.7/site-packages/setuptools/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyc

�
��Rec@sxdZddlmZddlmZddlmZmZddl	Z	defd��YZ
defd	��YZdS(
sy
Customized Mixin2to3 support:

 - adds support for converting doctests


This module raises an ImportError on Python 2.
i����(t	Mixin2to3(tlog(tRefactoringTooltget_fixers_from_packageNtDistutilsRefactoringToolcBs#eZd�Zd�Zd�ZRS(cOstj||�dS(N(Rterror(tselftmsgtargstkw((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyt	log_errorscGstj||�dS(N(Rtinfo(RRR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pytlog_messagescGstj||�dS(N(Rtdebug(RRR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyt	log_debugs(t__name__t
__module__R
RR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyRs		RcBs&eZed�Zd�Zd�ZRS(cCs�|jjtk	rdS|s dStjddj|��|j�|j�|r�tj	r�t
|j�}|j|dtdt�q�nt
j||�dS(NsFixing t twritet
doctests_only(tdistributiontuse_2to3tTrueRRtjoint_Mixin2to3__build_fixer_namest_Mixin2to3__exclude_fixerst
setuptoolstrun_2to3_on_doctestsRtfixer_namestrefactort
_Mixin2to3trun_2to3(Rtfilestdocteststr((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyRs

	cCs�|jr
dSg|_x'tjD]}|jjt|��q W|jjdk	r�x-|jjD]}|jjt|��q_WndS(N(RRtlib2to3_fixer_packagestextendRRtuse_2to3_fixerstNone(Rtp((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyt__build_fixer_names.s		cCsqt|dg�}|jjdk	r:|j|jj�nx0|D](}||jkrA|jj|�qAqAWdS(Ntexclude_fixers(tgetattrRtuse_2to3_exclude_fixersR&R$Rtremove(Rtexcluded_fixerst
fixer_name((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyt__exclude_fixers8s
(RRtFalseRRR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyRs	
(t__doc__tdistutils.utilRRt	distutilsRtlib2to3.refactorRRRR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyt<module>s

?>