1dade062a4
Signed-off-by: Kevin Chen <kevinch@nvidia.com>
61 lines
1.9 KiB
TOML
61 lines
1.9 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 = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "##TENSORRT_MODULE##_cu##CUDA_MAJOR##"
|
|
version = "##TENSORRT_PYTHON_VERSION##"
|
|
description = "A high performance deep learning inference library"
|
|
readme = {text = "##TENSORRT_README##", content-type = "text/markdown"}
|
|
license = {text = "Proprietary"}
|
|
authors = [
|
|
{name = "NVIDIA Corporation"}
|
|
]
|
|
classifiers = [
|
|
"License :: Other/Proprietary License",
|
|
"Intended Audience :: Developers",
|
|
"Programming Language :: Python :: 3",
|
|
]
|
|
keywords = ["nvidia", "tensorrt", "deeplearning", "inference"]
|
|
requires-python = ">=3.8"
|
|
|
|
# Dependencies are hosted on pypi.nvidia.com and fetched using the wheel-stub package
|
|
dependencies = [
|
|
"##TENSORRT_MODULE##_cu##CUDA_MAJOR##_libs==##TENSORRT_PYTHON_VERSION##",
|
|
"##TENSORRT_MODULE##_cu##CUDA_MAJOR##_bindings==##TENSORRT_PYTHON_VERSION##",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
numpy = ["numpy"]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/nvidia/tensorrt"
|
|
Download = "https://developer.nvidia.com/tensorrt"
|
|
|
|
[tool.setuptools]
|
|
zip-safe = true
|
|
include-package-data = true
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["##TENSORRT_MODULE##*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"*" = ["*.so*", "*.pyd", "*.pdb", "*.dll*"]
|