Skip to content

Commit

Permalink
Merge pull request #220 from vzhurba01/patch-12.6.2-windows
Browse files Browse the repository at this point in the history
Use pyproject for auto discovery of packages and data
  • Loading branch information
vzhurba01 authored Nov 6, 2024
2 parents 930e77b + 167b468 commit f953ab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
14 changes: 2 additions & 12 deletions cuda_bindings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,8 @@ dependencies = [
Repository = "https://github.com/NVIDIA/cuda-python"
Documentation = "https://nvidia.github.io/cuda-python/"

# BETA
# [tool.setuptools]
# zip-safe = false

# BETA
# [tool.setuptools.packages.find]
# where = ["cuda"]
# include = ["cuda", "cuda.*"]

# BETA
# [tool.setuptools.package-data]
# "*" = ["*.pxd", "*.pyx", "*.h", "*.cpp"]
[tool.setuptools.packages.find]
include = ["cuda.bindings*"]

[tool.versioneer]
VCS = "git"
Expand Down
5 changes: 0 additions & 5 deletions cuda_bindings/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,6 @@ def finalize_options(self):
setup(
version=versioneer.get_version(),
ext_modules=do_cythonize(extensions),
packages=find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime", "cuda.bindings._internal"]),
package_data=dict.fromkeys(
find_packages(include=["cuda", "cuda.*", "cuda.bindings", "cuda.bindings._bindings", "cuda.bindings._lib", "cuda.bindings._lib.cyruntime", "cuda.bindings._internal"]),
["*.pxd", "*.pyx", "*.py", "*.h", "*.cpp"],
),
cmdclass=cmdclass,
zip_safe=False,
)

0 comments on commit f953ab3

Please sign in to comment.