6beec5f3ec
Revert submission 1125402 Reason for revert: Packaging a tar archive of 3rd party sources Reverted Changes: I8908451c0:[SWDEV-482058] Updated Packaging for offline insta... I764c8bf01:[SWDEV-469278] Lowered PyYAML post install script ... Change-Id: I3886b5370e352fc33a249c4657d7ed0c1ee75baf
37 righe
856 B
Plaintext
37 righe
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 >= 5.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",
|
|
]
|