[Distutils] the 'wheel' binary package format
Paul Moore
p.f.moore at gmail.com
Mon Jul 2 16:07:25 CEST 2012
On 2 July 2012 14:17, Daniel Holth <dholth at 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.
More information about the Distutils-SIG
mailing list