1
0
Fork 1
mirror of https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git synced 2025-07-13 03:19:47 +03:00

Move version to pmb.__version__

Move the pmbootstrap version to __version__ in the pmb module, so it can
still be found automatically after setup.py is replaced.

Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230407233026.1712-4-ollieparanoid@postmarketos.org%3E
This commit is contained in:
Oliver Smith 2023-04-08 01:30:25 +02:00
parent 5d28c5ccf3
commit 6352ab9c2d
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
6 changed files with 8 additions and 5 deletions

View file

@ -603,7 +603,7 @@ def arguments():
# Other
parser.add_argument("-V", "--version", action="version",
version=pmb.config.version)
version=pmb.__version__)
parser.add_argument("-c", "--config", dest="config",
default=pmb.config.defaults["config"],
help="path to pmbootstrap.cfg file (default in"