From 1e1a999f28c9e90bc0451378f85ba582841ffc86 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Tue, 6 Feb 2024 22:43:28 +0000 Subject: [PATCH] Exclude tests from builds --- python/cudf/pyproject.toml | 1 + python/cudf_kafka/pyproject.toml | 1 + python/custreamz/pyproject.toml | 1 + python/dask_cudf/pyproject.toml | 3 +++ 4 files changed, 6 insertions(+) diff --git a/python/cudf/pyproject.toml b/python/cudf/pyproject.toml index ce30230398f..872b92d670d 100644 --- a/python/cudf/pyproject.toml +++ b/python/cudf/pyproject.toml @@ -168,6 +168,7 @@ build-dir = "build/{wheel_tag}" cmake.build-type = "Release" cmake.minimum-version = "3.26.4" ninja.make-fallback = true +sdist.exclude = ["*tests*"] sdist.reproducible = true wheel.packages = ["cudf"] diff --git a/python/cudf_kafka/pyproject.toml b/python/cudf_kafka/pyproject.toml index d6574c32873..8b96703df79 100644 --- a/python/cudf_kafka/pyproject.toml +++ b/python/cudf_kafka/pyproject.toml @@ -87,6 +87,7 @@ build-dir = "build/{wheel_tag}" cmake.build-type = "Release" cmake.minimum-version = "3.26.4" ninja.make-fallback = true +sdist.exclude = ["*tests*"] sdist.reproducible = true wheel.packages = ["cudf_kafka"] diff --git a/python/custreamz/pyproject.toml b/python/custreamz/pyproject.toml index 03ec079a890..e07c6c8c6a2 100644 --- a/python/custreamz/pyproject.toml +++ b/python/custreamz/pyproject.toml @@ -56,6 +56,7 @@ include = [ "custreamz", "custreamz.*", ] +exclude = ["*tests*"] [tool.isort] line_length = 79 diff --git a/python/dask_cudf/pyproject.toml b/python/dask_cudf/pyproject.toml index c3185bcb793..09e4accd427 100644 --- a/python/dask_cudf/pyproject.toml +++ b/python/dask_cudf/pyproject.toml @@ -57,6 +57,9 @@ license-files = ["LICENSE"] [tool.setuptools.dynamic] version = {file = "dask_cudf/VERSION"} +[tool.setuptools.packages.find] +exclude = ["*tests*"] + [tool.isort] line_length = 79 multi_line_output = 3