AlkantarClanX12

Your IP : 18.118.149.55


Current Path : /proc/self/root/lib/python2.7/site-packages/setuptools/
Upload File :
Current File : //proc/self/root/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyc

�
�fc@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((s9/usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyt	log_errorscGstj||�dS(N(Rtinfo(RRR((s9/usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.pytlog_messagescGstj||�dS(N(Rtdebug(RRR((s9/usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyt	log_debugs(t__name__t
__module__R
RR(((s9/usr/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((s9/usr/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((s9/usr/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((s9/usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyt__exclude_fixers8s
(RRtFalseRRR(((s9/usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyRs	
(t__doc__tdistutils.utilRRt	distutilsRtlib2to3.refactorRRRR(((s9/usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.pyt<module>s