From e5dd89e3ca08553761f248dbe3654f73165a6f27 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 10 Dec 2020 12:54:28 -0600 Subject: [PATCH 1/4] cut size --- python-package/MANIFEST.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-package/MANIFEST.in b/python-package/MANIFEST.in index b0092922f83c..f1f41d4d715c 100644 --- a/python-package/MANIFEST.in +++ b/python-package/MANIFEST.in @@ -8,7 +8,11 @@ recursive-include compile/compute *.txt recursive-include compile/compute/cmake * recursive-include compile/compute/include * recursive-include compile/compute/meta * -recursive-include compile/external_libs * +recursive-include compile/external_libs/fast_double_parser *.txt +recursive-include compile/external_libs/fast_double_parser/include * +recursive-include compile/external_libs/fmt *.txt +recursive-include compile/external_libs/fmt/include * +recursive-include compile/external_libs/fmt/src * recursive-include compile/include * recursive-include compile/src * recursive-include compile/windows LightGBM.sln LightGBM.vcxproj From 29c9d0909bbdd61d9cae31ba5b64c10c55ee1316 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 10 Dec 2020 14:34:32 -0600 Subject: [PATCH 2/4] more size cuts --- python-package/MANIFEST.in | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/python-package/MANIFEST.in b/python-package/MANIFEST.in index f1f41d4d715c..af7e788bb122 100644 --- a/python-package/MANIFEST.in +++ b/python-package/MANIFEST.in @@ -1,16 +1,22 @@ prune build include LICENSE +include VERSION.txt include *.rst *.txt -recursive-include lightgbm *.py *.txt *.so -recursive-include compile *.txt *.so +recursive-include lightgbm *.py *.so +include compile/CMakeLists.txt +include compile/CMakeIntegratedOpenCL.cmake +recursive-include compile *.so recursive-include compile/Release *.dll -recursive-include compile/compute *.txt +include compile/compute/CMakeLists.txt recursive-include compile/compute/cmake * recursive-include compile/compute/include * recursive-include compile/compute/meta * -recursive-include compile/external_libs/fast_double_parser *.txt +include compile/external_libs/fast_double_parser/CMakeLists.txt +include compile/external_libs/fast_double_parser/LICENSE +include compile/external_libs/fast_double_parser/LICENSE.BSL recursive-include compile/external_libs/fast_double_parser/include * -recursive-include compile/external_libs/fmt *.txt +include compile/external_libs/fmt/CMakeLists.txt +include compile/external_libs/fmt/LICENSE.rst recursive-include compile/external_libs/fmt/include * recursive-include compile/external_libs/fmt/src * recursive-include compile/include * From 2c741fc58269c55f4eb973ed551ae04126fe26e8 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 10 Dec 2020 14:38:46 -0600 Subject: [PATCH 3/4] testing install --- python-package/MANIFEST.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python-package/MANIFEST.in b/python-package/MANIFEST.in index af7e788bb122..66c051819c90 100644 --- a/python-package/MANIFEST.in +++ b/python-package/MANIFEST.in @@ -1,8 +1,7 @@ prune build include LICENSE -include VERSION.txt include *.rst *.txt -recursive-include lightgbm *.py *.so +recursive-include lightgbm VERSION.txt *.py *.so include compile/CMakeLists.txt include compile/CMakeIntegratedOpenCL.cmake recursive-include compile *.so From 43875dc7e1110ffbb6a8f60a4759f9aee105b9c5 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 10 Dec 2020 15:01:04 -0600 Subject: [PATCH 4/4] fmt is header-only --- python-package/MANIFEST.in | 1 - 1 file changed, 1 deletion(-) diff --git a/python-package/MANIFEST.in b/python-package/MANIFEST.in index 66c051819c90..62bc7f64fcfb 100644 --- a/python-package/MANIFEST.in +++ b/python-package/MANIFEST.in @@ -17,7 +17,6 @@ recursive-include compile/external_libs/fast_double_parser/include * include compile/external_libs/fmt/CMakeLists.txt include compile/external_libs/fmt/LICENSE.rst recursive-include compile/external_libs/fmt/include * -recursive-include compile/external_libs/fmt/src * recursive-include compile/include * recursive-include compile/src * recursive-include compile/windows LightGBM.sln LightGBM.vcxproj