Issue #1523 invalid

distribute-setup.py does not work with Python 3.1.1

Anonymous avatarAnonymous created an issue

Hi there,

I just tried distribute-setup.py with python 3.1.1 and I get the following traceback:

  File "distribute_setup.py", line 140
    except pkg_resources.VersionConflict, e:
                                        ^
SyntaxError: invalid syntax

I ran 2to3 -w on it and it still failed with the following traceback:

Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.2.tar.gz
Extracting in /tmp/tmp3zpdM_
Traceback (most recent call last):
  File "distribute_setup.py", line 428, in <module>
    main(sys.argv[1:])
  File "distribute_setup.py", line 424, in main
    _install(tarball)
  File "distribute_setup.py", line 72, in _install
    extractall(tar)
  File "distribute_setup.py", line 404, in extractall
    directories.sort(sorter)
TypeError: must use keyword argument for key function

With the 0.6.2 release supporting Python 3, I thought I should mention issue.

Thanks for the great work! Krys Lawrence krys at krys dot ca

Comments (2)

  1. Anonymous

    Oops, posted the bug report on the wrong place. This was for tarek/Distribute.

    Please disregard.

    Thanks.

  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.