/usr/lib/python2.7/site-packages/setuptools
NameSizeModeActions
command/-0755rm
extern/-0755rm
_vendor/-0755rm
archive_util.py65920644editdlrm
archive_util.pyc61420644editdlrm
archive_util.pyo61420644editdlrm
build_meta.py56710644editdlrm
build_meta.pyc66390644editdlrm
build_meta.pyo65220644editdlrm
config.py163810644editdlrm
config.pyc168880644editdlrm
config.pyo168880644editdlrm
depends.py58370644editdlrm
depends.pyc64830644editdlrm
depends.pyo64830644editdlrm
dep_util.py9350644editdlrm
dep_util.pyc9650644editdlrm
dep_util.pyo9650644editdlrm
dist.py425140644editdlrm
dist.pyc415020644editdlrm
dist.pyo414440644editdlrm
extension.py17290644editdlrm
extension.pyc24180644editdlrm
extension.pyo24180644editdlrm
glibc.py31460644editdlrm
glibc.pyc19600644editdlrm
glibc.pyo19600644editdlrm
glob.py52070644editdlrm
glob.pyc48180644editdlrm
glob.pyo47560644editdlrm
launch.py7870644editdlrm
launch.pyc10000644editdlrm
launch.pyo10000644editdlrm
lib2to3_ex.py20130644editdlrm
lib2to3_ex.pyc30040644editdlrm
lib2to3_ex.pyo30040644editdlrm
monkey.py57890644editdlrm
monkey.pyc63430644editdlrm
monkey.pyo63430644editdlrm
msvc.py408770644editdlrm
msvc.pyc403520644editdlrm
msvc.pyo403520644editdlrm
namespaces.py31990644editdlrm
namespaces.pyc50330644editdlrm
namespaces.pyo50330644editdlrm
package_index.py401530644editdlrm
package_index.pyc397430644editdlrm
package_index.pyo397430644editdlrm
pep425tags.py108820644editdlrm
pep425tags.pyc93340644editdlrm
pep425tags.pyo93340644editdlrm
py27compat.py5360644editdlrm
py27compat.pyc10450644editdlrm
py27compat.pyo10450644editdlrm
py31compat.py11920644editdlrm
py31compat.pyc18980644editdlrm
py31compat.pyo18980644editdlrm
py33compat.py11820644editdlrm
py33compat.pyc17200644editdlrm
py33compat.pyo17200644editdlrm
py36compat.py28910644editdlrm
py36compat.pyc28620644editdlrm
py36compat.pyo28620644editdlrm
sandbox.py142760644editdlrm
sandbox.pyc189000644editdlrm
sandbox.pyo189000644editdlrm
script (dev).tmpl2010644editdlrm
script.tmpl1380644editdlrm
site-patch.py23070644editdlrm
site-patch.pyc17390644editdlrm
site-patch.pyo17390644editdlrm
ssl_support.py84920644editdlrm
ssl_support.pyc85160644editdlrm
ssl_support.pyo85160644editdlrm
unicode_utils.py9960644editdlrm
unicode_utils.pyc14720644editdlrm
unicode_utils.pyo14720644editdlrm
version.py1440644editdlrm
version.pyc3220644editdlrm
version.pyo3220644editdlrm
wheel.py72300644editdlrm
wheel.pyc73430644editdlrm
wheel.pyo73090644editdlrm
windows_support.py7140644editdlrm
windows_support.pyc12740644editdlrm
windows_support.pyo12740644editdlrm
__init__.py57000644editdlrm
__init__.pyc76250644editdlrm
__init__.pyo76250644editdlrm
Edit: /usr/lib/python2.7/site-packages/setuptools/lib2to3_ex.py (2013B)
""" Customized Mixin2to3 support: - adds support for converting doctests This module raises an ImportError on Python 2. """ from distutils.util import Mixin2to3 as _Mixin2to3 from distutils import log from lib2to3.refactor import RefactoringTool, get_fixers_from_package import setuptools class DistutilsRefactoringTool(RefactoringTool): def log_error(self, msg, *args, **kw): log.error(msg, *args) def log_message(self, msg, *args): log.info(msg, *args) def log_debug(self, msg, *args): log.debug(msg, *args) class Mixin2to3(_Mixin2to3): def run_2to3(self, files, doctests=False): # See of the distribution option has been set, otherwise check the # setuptools default. if self.distribution.use_2to3 is not True: return if not files: return log.info("Fixing " + " ".join(files)) self.__build_fixer_names() self.__exclude_fixers() if doctests: if setuptools.run_2to3_on_doctests: r = DistutilsRefactoringTool(self.fixer_names) r.refactor(files, write=True, doctests_only=True) else: _Mixin2to3.run_2to3(self, files) def __build_fixer_names(self): if self.fixer_names: return self.fixer_names = [] for p in setuptools.lib2to3_fixer_packages: self.fixer_names.extend(get_fixers_from_package(p)) if self.distribution.use_2to3_fixers is not None: for p in self.distribution.use_2to3_fixers: self.fixer_names.extend(get_fixers_from_package(p)) def __exclude_fixers(self): excluded_fixers = getattr(self, 'exclude_fixers', []) if self.distribution.use_2to3_exclude_fixers is not None: excluded_fixers.extend(self.distribution.use_2to3_exclude_fixers) for fixer_name in excluded_fixers: if fixer_name in self.fixer_names: self.fixer_names.remove(fixer_name)