mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
show python implementation name and flip verison output order for easier reading when wrapped on small screens
This commit is contained in:
parent
6623497f18
commit
30f8d3f191
2 changed files with 19 additions and 11 deletions
|
@ -69,6 +69,7 @@ from .config import (
|
|||
ANSI,
|
||||
IS_TTY,
|
||||
IN_DOCKER,
|
||||
PYTHON_VERSION,
|
||||
USER,
|
||||
ARCHIVEBOX_BINARY,
|
||||
ONLY_NEW,
|
||||
|
@ -218,7 +219,7 @@ def version(quiet: bool=False,
|
|||
else:
|
||||
print('ArchiveBox v{}'.format(VERSION))
|
||||
p = platform.uname()
|
||||
print(p.system, platform.platform(), p.machine)
|
||||
print(sys.implementation.name.title(), p.system, platform.platform(), p.machine, f'(in Docker)' if IN_DOCKER else f'(not in Docker)')
|
||||
print()
|
||||
|
||||
print('{white}[i] Dependency versions:{reset}'.format(**ANSI))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue