Fixed python3 lib install for DEB & RPM

Upgraded python3-yaml into a dependency; needed for cli
	Added checks before uninstalling amdsmi system
	Made argcomplete activation only for installing user
	Corrected returns outside of function to exit
	Removed returns if python3 library install fails

Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I299dc01e07029b255a3469fd63fdc8ffec943828
Этот коммит содержится в:
Maisam Arif
2023-11-05 01:22:20 -06:00
родитель 18d6484c67
Коммит e0a1a6ca96
8 изменённых файлов: 150 добавлений и 34 удалений
+17 -1
Просмотреть файл
@@ -3,7 +3,23 @@
[metadata]
name = amdsmi
author = AMD
author_email = amd-smi.support@amd.com
url = https://github.com/RadeonOpenCompute/amdsmi
description = AMDSMI Python LIB - AMD GPU Monitoring Library
version = @amd_smi_libraries_VERSION_STRING@
license_file = amdsmi/LICENSE
classifiers =
Programming Language :: Python :: 3
[options]
zip_safe = False
include_package_data = True
packages = find:
python_requires = >=3.6
install_requires=
PyYAML >= 5.0
clang >= 14.0
[options.package_data]
amdsmi = *.so
* = *.so