summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 8345388..1df1801 100644
--- a/setup.py
+++ b/setup.py
@@ -1,11 +1,12 @@
"""wal - setup.py"""
import setuptools
+import sys
try:
import pywal
except ImportError:
print("error: pywal requires Python 3.5 or greater.")
- quit(1)
+ sys.exit(1)
LONG_DESC = open('README.md').read()
VERSION = pywal.__version__