1dade062a4
Signed-off-by: Kevin Chen <kevinch@nvidia.com>
65 lines
2.2 KiB
TOML
65 lines
2.2 KiB
TOML
#
|
|
# SPDX-FileCopyrightText: Copyright (c) 1993-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "tensorrt_build_backend"
|
|
backend-path = ["."]
|
|
|
|
[project]
|
|
# The package name is computed dynamically by the build backend
|
|
# based on [tool.tensorrt] config and wheel-type config setting
|
|
name = "build-backend-placeholder"
|
|
version = "##TENSORRT_PYTHON_VERSION##"
|
|
description = "A high performance deep learning inference library"
|
|
readme = {text = "A high performance deep learning inference library", content-type = "text/plain"}
|
|
license = {text = "Proprietary"}
|
|
authors = [
|
|
{name = "NVIDIA Corporation"}
|
|
]
|
|
classifiers = [
|
|
"License :: Other/Proprietary License",
|
|
"Intended Audience :: Developers",
|
|
"Programming Language :: Python :: 3",
|
|
]
|
|
keywords = ["nvidia", "tensorrt", "deeplearning", "inference"]
|
|
|
|
[project.optional-dependencies]
|
|
numpy = ["numpy"]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/nvidia/tensorrt"
|
|
Download = "https://developer.nvidia.com/tensorrt"
|
|
|
|
# TensorRT-specific build configuration used by the custom build backend
|
|
# The backend reads this to compute the correct package name based on wheel-type
|
|
[tool.tensorrt]
|
|
base-name = "##TENSORRT_MODULE##"
|
|
cuda-major = "##CUDA_MAJOR##"
|
|
|
|
[tool.setuptools]
|
|
zip-safe = true
|
|
include-package-data = true
|
|
|
|
# Package discovery - placeholder updated by build backend based on wheel type
|
|
[tool.setuptools.packages.find]
|
|
include = ["build-backend-placeholder"]
|
|
exclude = ["tensorrt_build_backend*"] # Explicitly exclude the backend, since tensorrt* will match it otherwise.
|
|
|
|
[tool.setuptools.package-data]
|
|
"*" = ["*.so*", "*.pyd", "*.pdb", "*.dll*"]
|