2e5b164c43
Signed-off-by: Justin Williams <Justin.Williams@amd.com> Change-Id: Ibad07d34dfb455043ce307fe036289f1d5c20a9a
37 γραμμές
856 B
Plaintext
37 γραμμές
856 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 >= 3.0",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://github.com/RadeonOpenCompute/amdsmi"
|
|
|
|
[tool.setuptools]
|
|
packages = ["amdsmi"]
|
|
|
|
# install libamd_smi.so
|
|
[tool.setuptools.package-data]
|
|
amdsmi = ["*.so"]
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath = "/opt/rocm/share/amd_smi"
|
|
addopts = [
|
|
"--import-mode=importlib",
|
|
]
|