-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
116 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ requires = ["setuptools", "cython", "pyclibrary"] | |
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "cuda-python" | ||
name = "cuda-bindings" | ||
description = "Python bindings for CUDA" | ||
authors = [{name = "NVIDIA Corporation", email = "[email protected]"},] | ||
license = {file = "LICENSE"} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 2023-2025 NVIDIA Corporation. All rights reserved. | ||
# | ||
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE | ||
|
||
[build-system] | ||
requires = ["setuptools",] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "cuda-python" | ||
description = "CUDA Python: Performance meets Productivity" | ||
readme = {file = "README.md", content-type = "text/markdown"} | ||
authors = [{name = "NVIDIA Corporation", email = "[email protected]"},] | ||
license = {file = "LICENSE"} | ||
classifiers = [ | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: Microsoft :: Windows", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Education", | ||
"Topic :: Scientific/Engineering", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"Intended Audience :: End Users/Desktop", | ||
"License :: Other/Proprietary License", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Environment :: GPU :: NVIDIA CUDA", | ||
"Environment :: GPU :: NVIDIA CUDA :: 12", | ||
] | ||
dynamic = ["version", "dependencies"] | ||
|
||
[project.urls] | ||
homepage = "https://nvidia.github.io/cuda-python/" | ||
documentation = "https://nvidia.github.io/cuda-python/" | ||
repository = "https://github.com/NVIDIA/cuda-python/" | ||
issues = "https://github.com/NVIDIA/cuda-python/issues/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED. | ||
# | ||
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE | ||
|
||
from setuptools import setup | ||
|
||
# We want to keep the version in sync with cuda.bindings, but setuptools would not let | ||
# us to refer to any files outside of the project root, so we have to employ our own | ||
# run-time lookup using setup()... | ||
with open("../cuda_bindings/cuda/bindings/_version.py") as f: | ||
exec(f.read()) | ||
version = __version__ # noqa: F821 | ||
del __version__ # noqa: F821 | ||
|
||
setup( | ||
version=version, | ||
install_requires=[ | ||
f"cuda-bindings~={version}", | ||
], | ||
) |