setup: Better error message.

This commit is contained in:
Dylan Araps 2017-07-07 11:18:59 +10:00
parent a94d47c325
commit bf88cd7881

View File

@ -4,7 +4,8 @@ import setuptools
try:
import pywal
except (ImportError, SyntaxError):
raise "pywal requires Python 3.6 or greater."
print("error: pywal requires Python 3.6 or greater.")
quit(1)
DESC = (