gesomax / httplib2

Automatically exported from code.google.com/p/httplib2
0 stars 0 forks source link

osx macports python 3.1.1 install fails #87

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download httplib2-0.6.0.tar.gz from http://code.google.com/p/httplib2/
2. tar xvf httplib2-0.6.0.tar.gz
3. sudo python3.1 setup.py install

What is the expected output? What do you see instead?

sudo python3.1 setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/httplib2
copying python3/httplib2/__init__.py -> build/lib/httplib2
copying python3/httplib2/iri2uri.py -> build/lib/httplib2
running install_lib
byte-compiling
/opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-p
ackages/httplib2/__init__.py
to __init__.pyc
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-
packages/httplib2/__init__.py",
line 738
    print "connect: (%s, %s)" % (self.host, self.port)
                            ^
SyntaxError: invalid syntax

byte-compiling
/opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-p
ackages/httplib2/iri2uri.py
to iri2uri.pyc
  File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-
packages/httplib2/iri2uri.py",
line 87
    u"ftp://ftp.is.co.za/rfc/rfc1808.txt",
                                        ^
SyntaxError: invalid syntax

running install_egg_info
Removing
/opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-p
ackages/httplib2-0.6.0-py3.1.egg-info
Writing
/opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/site-p
ackages/httplib2-0.6.0-py3.1.egg-info

What version of the product are you using? On what operating system?

macports python3.1.1 on OSX 10.6.2

Please provide any additional information below.

Original issue reported on code.google.com by ggu...@gmail.com on 25 Jan 2010 at 10:03