From d1fe709092f2497bd64a1ccecb5a070a1323aa95 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 11 Dec 2020 12:53:58 +0000 Subject: [PATCH] [python-package] remove unnecessary files to reduce sdist size (#3639) * cut size * more size cuts * testing install * fmt is header-only --- python-package/MANIFEST.in | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/python-package/MANIFEST.in b/python-package/MANIFEST.in index b0092922f83c..62bc7f64fcfb 100644 --- a/python-package/MANIFEST.in +++ b/python-package/MANIFEST.in @@ -1,14 +1,22 @@ prune build include LICENSE include *.rst *.txt -recursive-include lightgbm *.py *.txt *.so -recursive-include compile *.txt *.so +recursive-include lightgbm VERSION.txt *.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 * +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 * +include compile/external_libs/fmt/CMakeLists.txt +include compile/external_libs/fmt/LICENSE.rst +recursive-include compile/external_libs/fmt/include * recursive-include compile/include * recursive-include compile/src * recursive-include compile/windows LightGBM.sln LightGBM.vcxproj