From 0326b48e33b5b5584796659754578169812167ff Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 18 Jul 2020 16:32:02 +0200 Subject: [PATCH] Get version automatically --- royalpack/version.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/royalpack/version.py b/royalpack/version.py index 160035fb..4430300e 100644 --- a/royalpack/version.py +++ b/royalpack/version.py @@ -1 +1,3 @@ -semantic = "5.12.2" +import pkg_resources + +semantic = pkg_resources.get_distribution("royalpack").version