aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-06-26 20:03:53 +1000
committerDylan Araps <[email protected]>2017-06-26 20:03:53 +1000
commit091021a8789011807332f3e32c4ba97d6748c01b (patch)
tree5113e4b5d16df6cd6b8b723b159c551908dc3289
parentGeneral: Renames settings.py to globals.py (diff)
downloadpywal-091021a8789011807332f3e32c4ba97d6748c01b.tar.xz
pywal-091021a8789011807332f3e32c4ba97d6748c01b.zip
General: Add __version__ to __init__.py
-rwxr-xr-xpywal/__init__.py4
-rw-r--r--setup.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/pywal/__init__.py b/pywal/__init__.py
index af433d7..480a0b4 100755
--- a/pywal/__init__.py
+++ b/pywal/__init__.py
@@ -2,3 +2,7 @@
wal - Generate and change colorschemes on the fly.
Created by Dylan Araps.
"""
+from pywal import globals as g
+
+
+__version__ = g.__version__
diff --git a/setup.py b/setup.py
index 569f9b3..01e2096 100644
--- a/setup.py
+++ b/setup.py
@@ -1,6 +1,6 @@
"""wal - setup.py"""
from setuptools import setup
-import pywal.globals as pywal
+import pywal
DESC = (