raiseRuntimeError(f"No components found in directory: {components_dir}")
returncomponents
classVersionWriterHook(BuildHookInterface):
classVersionWriterHook(BuildHookInterface):
...
@@ -45,9 +58,7 @@ class VersionWriterHook(BuildHookInterface):
...
@@ -45,9 +58,7 @@ class VersionWriterHook(BuildHookInterface):
version_content=f'# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n\n# This file is auto-generated at build time\n__version__ = "{full_version}"\n'
version_content=f'# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\n# SPDX-License-Identifier: Apache-2.0\n\n# This file is auto-generated at build time\n__version__ = "{full_version}"\n'