Asvel / pygs

[UNMAINTAINED] Python bindings to libqxt's QxtGlobalShortcut
GNU General Public License v3.0
14 stars 5 forks source link

setup.py fails on Python 2.x #2

Closed Aculeo closed 10 years ago

Aculeo commented 10 years ago

When trying to install pygs with pip it fails with the following error:

File "/tmp/pip_build_root/PyGlobalShortcut/setup.py", line 30, in check_call
except FileNotFoundError as ex:
NameError: global name 'FileNotFoundError' is not defined

FileNotFoundError does not exist in Python 2.x

Asvel commented 10 years ago

Fix it, but in this case it will keep on throwing a real exception about file not found