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:
parent
5d28c5ccf3
commit
6352ab9c2d
6 changed files with 8 additions and 5 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue