obiba / opal-python-client

Python command lines for accessing Opal web services.
GNU General Public License v3.0
4 stars 3 forks source link

fix: ez_setup to work with python3 #16

Closed sidohaakma closed 4 years ago

sidohaakma commented 4 years ago

This fixes these errors:

File "ez_setup.py", line 106
    except pkg_resources.VersionConflict, e:
                                        ^
SyntaxError: invalid syntax

After you overcome this error you will get this:

File "ez_setup.py", line 241
    print "Setuptools version",version,"or greater has been installed."
                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Setuptools version",version,"or greater has been installed.")?