On 2 July 2012 14:17, Daniel Holth <dho...@gmail.com> wrote:
> Shell script to build a directory full of wheels and then install
> them. https://gist.github.com/3033186

Is wheel for Python 2? I'm trying to build using 3.3a2, and I get:

>.\Scripts\pip install -e hg+https://bitbucket.org/dholth/wheel#egg=wheel -e 
>hg+https://bitbucket.org/dholth/distribute#
egg=distribute -e git+https://github.com/dholth/pip.git#egg=pip
Obtaining wheel from hg+https://bitbucket.org/dholth/wheel#egg=wheel
  Updating d:\data\wheeltest\src\wheel clone
  Running setup.py egg_info for package wheel

Obtaining distribute from
hg+https://bitbucket.org/dholth/distribute#egg=distribute
  Cloning hg https://bitbucket.org/dholth/distribute to
d:\data\wheeltest\src\distribute
  Running setup.py egg_info for package distribute
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "setuptools\__init__.py", line 2, in <module>
        from setuptools.extension import Extension, Library
      File "setuptools\extension.py", line 5, in <module>
        from setuptools.dist import _get_unpatched
      File "setuptools\dist.py", line 103
        except ValueError, e:
                         ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 3, in <module>

  File "setuptools\__init__.py", line 2, in <module>

    from setuptools.extension import Extension, Library

  File "setuptools\extension.py", line 5, in <module>

    from setuptools.dist import _get_unpatched

  File "setuptools\dist.py", line 103

    except ValueError, e:

                     ^

SyntaxError: invalid syntax

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in D:\Documents and Settings\UK03306\Application
Data\pip\pip.log

That's Python 2 syntax, so the error is correct. But why is Python 3
finding a Python 2 format file?

Paul.
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to