From 21540c9d44ce5c4a43f7dfd12e62c071e0f82f45 Mon Sep 17 00:00:00 2001
From: lukken <lukken@astron.nl>
Date: Wed, 6 Oct 2021 06:41:48 +0000
Subject: [PATCH] L2SS-287: Try to have version discoverability for packaging

---
 devices/__init__.py | 1 -
 devices/version.py  | 4 ++++
 2 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 devices/version.py

diff --git a/devices/__init__.py b/devices/__init__.py
index 82b2af0e9..329b61fa5 100644
--- a/devices/__init__.py
+++ b/devices/__init__.py
@@ -1,4 +1,3 @@
 from util.lofar_git import get_version
 
 __version__ = get_version()
-
diff --git a/devices/version.py b/devices/version.py
new file mode 100644
index 000000000..ae535ccb5
--- /dev/null
+++ b/devices/version.py
@@ -0,0 +1,4 @@
+import pbr.version
+
+version_info = pbr.version.VersionInfo('TangoStationControl')
+version_string = version_info.version_string()
-- 
GitLab