X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=setup.py;fp=setup.py;h=8197fabd6c64bc9d71fc103e3b4c4869b18a1a7e;hb=100a39e2b01dadd2d27ed805cbe2b4ead7fc8b05;hp=7f317b808d92044ed6dc5f8ad9f76c4d6797d007;hpb=75bed5d6178375a64f93ced4795ee0cf47442df1;p=kconfig-hardened-check.git diff --git a/setup.py b/setup.py index 7f317b8..8197fab 100755 --- a/setup.py +++ b/setup.py @@ -2,4 +2,11 @@ from setuptools import setup -setup() +about = {} +with open("kconfig_hardened_check/__about__.py") as f: + exec(f.read(), about) + +print('v: "{}"'.format(about['__version__'])) + +# See the options in setup.cfg +setup(version = about['__version__'])