Update the README
[kconfig-hardened-check.git] / setup.py
index 7f317b808d92044ed6dc5f8ad9f76c4d6797d007..cb776f4408e3ad65838a66082ba4a2ac6054d35b 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -2,4 +2,11 @@
 
 from setuptools import setup
 
-setup()
+about = {}
+with open("kernel_hardening_checker/__about__.py") as f:
+    exec(f.read(), about)
+
+print('v: "{}"'.format(about['__version__']))
+
+# See the options in setup.cfg
+setup(version = about['__version__'])