Skip to content

Commit d8de142

Browse files
committed
make bindings optional deps
1 parent 6b8ac66 commit d8de142

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

cuda_core/DESCRIPTION.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ cuda-core: Pythonic access to CUDA core functionalities
33
*******************************************************
44

55
`cuda.core <https://nvidia.github.io/cuda-python/cuda-core/>`_ bridges Python's productivity
6-
with CUDA's performance through intuitive, pythonic APIs.
7-
The mission is to provide users full access to all of the CUDA features in Python.
6+
with CUDA's performance through intuitive and pythonic APIs.
7+
The mission is to provide users full access to all of the core CUDA features in Python,
8+
such as runtime control, compiler and linker.
89

910
* `Repository <https://github.com/NVIDIA/cuda-python/tree/main/cuda_core>`_
1011
* `Documentation <https://nvidia.github.io/cuda-python/cuda-core/>`_

cuda_core/pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,13 @@ classifiers = [
4444
]
4545
dependencies = [
4646
"numpy",
47-
# TODO: change this once cuda-bindings is packaged, see NVIDIA/cuda-python#105
48-
"cuda-python <13",
4947
]
5048

49+
[project.optional-dependencies]
50+
# TODO: change this once cuda-bindings is packaged, see NVIDIA/cuda-python#105
51+
cu11 = ["cuda-python==11.8.*"]
52+
cu12 = ["cuda-python==12.*"]
53+
5154
[project.urls]
5255
homepage = "https://nvidia.github.io/cuda-python/"
5356
documentation = "https://nvidia.github.io/cuda-python/cuda-core/"
@@ -57,7 +60,6 @@ issues = "https://github.com/NVIDIA/cuda-python/issues/"
5760
[tool.setuptools.packages.find]
5861
include = ["cuda.core*"]
5962

60-
6163
[tool.setuptools.dynamic]
6264
version = { attr = "cuda.core._version.__version__" }
6365
readme = { file = ["DESCRIPTION.rst"], content-type = "text/x-rst" }

0 commit comments

Comments
 (0)