874d8edb3d
Also modify README to include: export PATH="$PATH:/opt/rocm/bin" Change-Id: Ib4513d61fd3e6b23cc789491c11d83e6a6de947a Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
32 строки
765 B
Plaintext
32 строки
765 B
Plaintext
# for details see:
|
|
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=59.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "amdsmi"
|
|
authors = [
|
|
{name = "AMD", email = "amd-smi.support@amd.com"},
|
|
]
|
|
version = "@amd_smi_libraries_VERSION_STRING@"
|
|
license = {file = "amdsmi/LICENSE"}
|
|
readme = {file = "amdsmi/README.md", content-type = "text/markdown"}
|
|
description = "AMDSMI Python LIB - AMD GPU Monitoring Library"
|
|
requires-python = ">=3.6"
|
|
dependencies = [
|
|
"PyYAML >= 5.0",
|
|
"clang >= 14.0"
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://github.com/RadeonOpenCompute/amdsmi"
|
|
|
|
[tool.setuptools]
|
|
packages = ["amdsmi"]
|
|
|
|
# install libamd_smi.so
|
|
[tool.setuptools.package-data]
|
|
amdsmi = ["*.so"]
|