From 9d1adc81a9cf5b7306748d9a30dd39805341e9de Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sat, 28 Dec 2024 14:48:26 +0800 Subject: [PATCH] build: optimize the inclusion of `MANIFEST.in` --- src/core_ffi/python_ffi/packing/MANIFEST.in | 22 +++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/core_ffi/python_ffi/packing/MANIFEST.in b/src/core_ffi/python_ffi/packing/MANIFEST.in index 00a68b1..7a3f52c 100644 --- a/src/core_ffi/python_ffi/packing/MANIFEST.in +++ b/src/core_ffi/python_ffi/packing/MANIFEST.in @@ -3,16 +3,22 @@ include setup.py include README.md exclude MANIFEST.in -include src/klotski/*.py - include CMakeLists.txt include src/CMakeLists.txt include src/core_ffi/CMakeLists.txt +include third_party/ThirdParty.cmake -recursive-include src/core * -recursive-include src/core_ffi/python_ffi * -recursive-exclude src/core_ffi/python_ffi/packing * +graft src/core/ +graft src/core_ffi/python_ffi/ +prune src/core_ffi/python_ffi/packing/ +exclude src/core/main.cc src/core/benchmark/*.cc -include third_party/ThirdParty.cmake -recursive-include third_party/pybind11 * -recursive-include third_party/parallel-hashmap * +graft third_party/pybind11/include/ +include third_party/pybind11/LICENSE +include third_party/pybind11/CMakeLists.txt +recursive-include third_party/pybind11/tools/ *.cmake + +include third_party/parallel-hashmap/LICENSE +include third_party/parallel-hashmap/CMakeLists.txt +graft third_party/parallel-hashmap/parallel_hashmap/ +recursive-include third_party/parallel-hashmap/cmake/ *.cmake