Your IP : 3.21.12.122
�Re� � @ sx d Z d d l m Z d d l m Z d d l m Z m Z d d l Z Gd d � d e � Z
Gd d � d e � Z d S)
zy
Customized Mixin2to3 support:
- adds support for converting doctests
This module raises an ImportError on Python 2.
� )� Mixin2to3)�log)�RefactoringTool�get_fixers_from_packageNc @ s4 e Z d Z d d � Z d d � Z d d � Z d S)�DistutilsRefactoringToolc O s t j | | � d S)N)r �error)�self�msg�args�kw� r ��/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/lib2to3_ex.py� log_error s z"DistutilsRefactoringTool.log_errorc G s t j | | � d S)N)r �info)r r r
r r r
�log_message s z$DistutilsRefactoringTool.log_messagec G s t j | | � d S)N)r �debug)r r r
r r r
� log_debug s z"DistutilsRefactoringTool.log_debugN)�__name__�
__module__�__qualname__r r r r r r r
r s r c @ s7 e Z d Z d d d � Z d d � Z d d � Z d S) r Fc C s� | j j d k r d S| s d St j d d j | � � | j � | j � | r� t j r� t | j
� } | j | d d d d �n t j
| | � d S)NTzFixing � �writeZ
doctests_only)�distributionZuse_2to3r r �join�_Mixin2to3__build_fixer_names�_Mixin2to3__exclude_fixers�
setuptoolsZrun_2to3_on_doctestsr �fixer_names�refactor�
_Mixin2to3�run_2to3)r �filesZdoctests�rr r r
r s
zMixin2to3.run_2to3c C s� | j r
d Sg | _ x'