Remove workaround to get distro package version
This commit is contained in:
parent
5b1f2a227f
commit
000ccf04fb
|
@ -981,12 +981,7 @@ def python_info():
|
||||||
print("psutil package:", psutil.__version__)
|
print("psutil package:", psutil.__version__)
|
||||||
print("platform package:", pl.__version__)
|
print("platform package:", pl.__version__)
|
||||||
print("click package:", click.__version__)
|
print("click package:", click.__version__)
|
||||||
# workaround: Module 'distro' has no '__version__' member () (https://github.com/nir0s/distro/issues/265)
|
print("distro package:", distro.__version__)
|
||||||
# print("distro:", distro.__version__)
|
|
||||||
run(
|
|
||||||
"echo \"distro package\" $(pip3 show distro | sed -n -e 's/^.*Version: //p')",
|
|
||||||
shell=True,
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def device_info():
|
def device_info():
|
||||||
|
|
Loading…
Reference in New Issue