summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-07 11:18:59 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-07 11:18:59 +1000
commitbf88cd7881fce77298ec6df526a1784827acfbe4 (patch)
treed15ff876d153073b649b9278c72a176b87cc7669 /setup.py
parenta94d47c32505edd6d92ffd0610dd7b491174096d (diff)
setup: Better error message.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 732e27f..306069f 100644
--- a/setup.py
+++ b/setup.py
@@ -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 = (