From c9d1ac7beac4426c8e636a392bde0f995d1ae8fb Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sat, 26 Oct 2024 12:31:39 -0500 Subject: [PATCH] [python-package] remove MSVS solution files from sdist (#6698) * [python-package] remove MSVS solution files from sdist * remove one more line --------- Co-authored-by: Nikita Titov --- build-python.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build-python.sh b/build-python.sh index cf7907377..ff37e4afe 100755 --- a/build-python.sh +++ b/build-python.sh @@ -205,7 +205,6 @@ create_isolated_source_dir() { cp -R ./include ./lightgbm-python cp -R ./src ./lightgbm-python cp -R ./swig ./lightgbm-python - cp -R ./windows ./lightgbm-python # include only specific files from external_libs, to keep the package # small and avoid redistributing code with licenses incompatible with @@ -303,8 +302,7 @@ if test "${INSTALL}" = true; then ./external_libs \ ./include \ ./src \ - ./swig \ - ./windows + ./swig # use regular-old setuptools for these builds, to avoid # trying to recompile the shared library sed -i.bak -e '/start:build-system/,/end:build-system/d' pyproject.toml