projects
/
kconfig-hardened-check.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a check to `_open`
[kconfig-hardened-check.git]
/
setup.py
diff --git
a/setup.py
b/setup.py
index 7f317b808d92044ed6dc5f8ad9f76c4d6797d007..853fcae08a39b4b0f6073508da93e6a936c53b2c 100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-1,5
+1,12
@@
-#!/usr/bin/python3
+#!/usr/bin/
env
python3
from setuptools import setup
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__'])