gesomax / httplib2

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

Getting SyntaxErrors with regex components in __init__.py when installing #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download httplib2-python3-0.5.0.tar.gz
2. tar -zxvf httplib2-python3-0.5.0.tar.gz
3. cd httplib2-python3-0.5.0
4. python setup.py install

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

$ python setup.py install
running install
running build
running build_py
creating build
creating build\lib
creating build\lib\httplib2
copying httplib2\iri2uri.py -> build\lib\httplib2
copying httplib2\__init__.py -> build\lib\httplib2
running install_lib
byte-compiling c:\Python25\Lib\site-packages\httplib2\__init__.py to
__init__.pyc
  File "c:\Python25\Lib\site-packages\httplib2\__init__.py", line 174
    filename = re_url_scheme.sub(b"", filename)
                                   ^
SyntaxError: invalid syntax

running install_egg_info
Removing c:\Python25\Lib\site-packages\httplib2-python3_0.5.0-py2.5.egg-info
Writing c:\Python25\Lib\site-packages\httplib2-python3_0.5.0-py2.5.egg-info

What version of the product are you using? On what operating system?
I am using version 3_0.5.0
OS = Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by Outback...@gmail.com on 21 Sep 2009 at 1:28

GoogleCodeExporter commented 8 years ago
This turned out to be a issue with installing with 2.5.2

Original comment by Outback...@gmail.com on 21 Sep 2009 at 4:46

GoogleCodeExporter commented 8 years ago

Original comment by joe.gregorio@gmail.com on 15 Feb 2011 at 4:45