vj57 / googlecl

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

Upgrade to work with Python 3+ #351

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download tarball
2. Follow installation instructions
3.

What is the expected output? What do you see instead?
Expected - successful install
Actual -
[xxxxx@linuxbox googlecl-0.9.12]$ sudo python setup.py install
Password:
  File "setup.py", line 55
    print SCRIPT_TO_INSTALL + ' exists and is not the same as ' +\
                          ^
SyntaxError: invalid syntax
[xxxxx@linuxbox googlecl-0.9.12]$

What version of the product are you using?
0.9.12

On what operating system? 
Linux linuxbox 2.6.36-ARCH #1 SMP PREEMPT Sat Jan 8 13:16:43 UTC 2011 i686 AMD 
Athlon(tm) XP 1900+ AuthenticAMD GNU/Linux

Python 3.1.3 (r313:86834, Dec  1 2010, 12:35:23)
[GCC 4.5.1 20101125 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

What version of gdata-python-client (aka python-gdata)?
Not installed

Please provide any additional information below.

Original issue reported on code.google.com by steve.poulson@gmail.com on 23 Jan 2011 at 2:33

GoogleCodeExporter commented 9 years ago
It's the use of Python 3.1.3. GoogleCL has only been tested with 2.4 through 
2.6, and the use of the print statement has changed.

There's a bit of work to be done in order to work with the new version of 
Python, so it's unlikely to be fixed anytime soon. Try using 2.6.

Original comment by tom.h.mi...@gmail.com on 23 Jan 2011 at 8:25