From f182954fb9811a1823f757e1d8a1d184318bd140 Mon Sep 17 00:00:00 2001 From: Bo Tang Date: Thu, 12 Mar 2026 14:35:35 -0400 Subject: [PATCH] Bug fixed: add cmake to broken sdist --- CMakeLists.txt | 2 +- pyproject.toml | 14 ++++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index de9d70b..4fac171 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ project(cupdlpx LANGUAGES C CXX CUDA) set(CUPDLPX_VERSION_MAJOR 0) set(CUPDLPX_VERSION_MINOR 2) -set(CUPDLPX_VERSION_PATCH 5) +set(CUPDLPX_VERSION_PATCH 7) set(CUPDLPX_VERSION "${CUPDLPX_VERSION_MAJOR}.${CUPDLPX_VERSION_MINOR}.${CUPDLPX_VERSION_PATCH}") add_compile_definitions(CUPDLPX_VERSION="${CUPDLPX_VERSION}") diff --git a/pyproject.toml b/pyproject.toml index 9e402ff..1d3ada0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "cupdlpx" -version = "0.2.5" +version = "0.2.7" description = "Python bindings for cuPDLPx (GPU-accelerated first-order LP solver)" readme = "README.md" license = { text = "Apache-2.0" } @@ -22,7 +22,17 @@ build-dir = "build/{wheel_tag}" cmake.version = ">=3.21" cmake.build-type = "Release" wheel.packages = ["python/cupdlpx"] -sdist.include = ["tests/**", "pyproject.toml", "README.md", "LICENSE"] +sdist.include = [ + "CMakeLists.txt", + "src/**", + "include/**", + "internal/**", + "python_bindings/**", + "python/**", + "pyproject.toml", + "README.md", + "LICENSE", +] [tool.scikit-build.cmake.define] CMAKE_CUDA_ARCHITECTURES = "all"