Convert the version script into py

And update it to follow the new two-part version scheme

Bug: 198094685
Test: Make the apex, deapex the apex and check the version info
Change-Id: I6b8f1eab3713f7b191beddeaa0701601acfa07c0
3 files changed
tree: 82f2e062a6ff558c64fcce69b3205d39ae07f251
  1. common/
  2. devices/
  3. .clang-format
  4. Android.bp
  5. METADATA
  6. OWNERS
  7. PREUPLOAD.cfg