File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11
2- __author__ = "desultory"
3- __version__ = "0.12.2"
4-
5-
62from tomllib import load
73from typing import Union
84from pathlib import Path
95from subprocess import run , CompletedProcess
6+ from importlib .metadata import version
107
118from zenlib .logging import loggify
129from zenlib .util import pretty_print
1310
1411from ugrd .initramfs_dict import InitramfsConfigDict
1512
13+ __author__ = "desultory"
14+ __version__ = version (__package__ )
15+
1616
1717@loggify
1818class InitramfsGenerator :
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def main():
4141 args = argparser .parse_args ()
4242
4343 if args .version :
44- print (f"ugrd { version (__package__ )} " )
44+ print (f"{ __package__ } { version (__package__ )} " )
4545 exit (0 )
4646
4747 # Set the initial logger debug level based on the args, set the format string based on the debug level
You can’t perform that action at this time.
0 commit comments