[FEAT] version: actually interpret the version
Instead of just reading the line with version it uses the
version variable of the module. Thus it's required that the file is
imported, but this doesn't accidentially executes any code.
Bug: T73788
Change-Id: I1a5691e8492e204388dae4b2031016b7d2c3bab7