From 26cabb1e8770cab95df1c2b76f4c9cb0e7498afa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Mon, 5 Dec 2016 00:00:32 +0200 Subject: [PATCH] Set __version__ attribute from the setup.py file Former-commit-id: a25cf505f32bbd5d223d3e9b73078f994bab2f0d --- qpms/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qpms/__init__.py b/qpms/__init__.py index c1bfd0f..a7eb027 100644 --- a/qpms/__init__.py +++ b/qpms/__init__.py @@ -1,2 +1,5 @@ +from pkg_resources import get_distribution +__version__ = get_distribution('qpms').version + from qpms_c import * from .qpms_p import *