Issue #305 resolved

[Patch] Warning shows during normal operations

Stefan H. Holek avatarStefan H. Holek created an issue

When use_2to3=True, the "Excluded fixer not found" warning is printed during normal operations, like when running 'setup.py test' after having made changes to source files.

The warning is also rather boring and setuptools has the general policy of failing silently, I believe.

Patch 'build_py': https://bitbucket.org/stefanholek/distribute/changeset/b55322040187

Comments (4)

  1. Stefan H. Holek

    Please try the attached package.

    $ tar xzf test_excluded_fixers.tgz
    $ cd test_excluded_fixers
    $ virtualenv3.3 .
    $ ./bin/easy_install -U ../distribute-trunk
    $ ./bin/python setup.py develop
    
    Fixing build/lib/test_excluded_fixers/__init__.py ...
    Excluded fixer lib2to3.fixes.fix_filter not found
    Excluded fixer lib2to3.fixes.fix_xrange not found
    

    This is because while the commands are re-initialized the Distribution is not, and the fixers are already gone the second time around.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.