From 091021a8789011807332f3e32c4ba97d6748c01b Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 26 Jun 2017 20:03:53 +1000 Subject: General: Add __version__ to __init__.py --- pywal/__init__.py | 4 ++++ setup.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 = ( -- cgit v1.2.3