-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[python-package] remove unnecessary files to reduce sdist size (fixes #…
- Loading branch information
Showing
1 changed file
with
48 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,54 @@ | ||
include *.rst | ||
include README.rst | ||
include xgboost/LICENSE | ||
include xgboost/VERSION | ||
include xgboost/CMakeLists.txt | ||
|
||
recursive-include xgboost * | ||
include xgboost/py.typed | ||
recursive-include xgboost *.py | ||
recursive-include xgboost/cmake * | ||
exclude xgboost/cmake/RPackageInstall.cmake.in | ||
exclude xgboost/cmake/RPackageInstallTargetSetup.cmake | ||
exclude xgboost/cmake/Sanitizer.cmake | ||
exclude xgboost/cmake/modules/FindASan.cmake | ||
exclude xgboost/cmake/modules/FindLSan.cmake | ||
exclude xgboost/cmake/modules/FindLibR.cmake | ||
exclude xgboost/cmake/modules/FindTSan.cmake | ||
exclude xgboost/cmake/modules/FindUBSan.cmake | ||
recursive-include xgboost/include * | ||
recursive-include xgboost/plugin * | ||
recursive-include xgboost/src * | ||
recursive-include xgboost/rabit * | ||
recursive-include xgboost/dmlc-core * | ||
|
||
global-exclude *.py[oc] | ||
include xgboost/rabit/CMakeLists.txt | ||
recursive-include xgboost/rabit/include * | ||
recursive-include xgboost/rabit/src * | ||
prune xgboost/rabit/doc | ||
prune xgboost/rabit/guide | ||
|
||
include xgboost/dmlc-core/CMakeLists.txt | ||
|
||
recursive-include xgboost/dmlc-core/cmake * | ||
exclude xgboost/dmlc-core/cmake/gtest_cmake.in | ||
exclude xgboost/dmlc-core/cmake/lint.cmake | ||
exclude xgboost/dmlc-core/cmake/Sanitizer.cmake | ||
exclude xgboost/dmlc-core/cmake/Modules/FindASan.cmake | ||
exclude xgboost/dmlc-core/cmake/Modules/FindLSan.cmake | ||
exclude xgboost/dmlc-core/cmake/Modules/FindTSan.cmake | ||
exclude xgboost/dmlc-core/cmake/Modules/FindUBSan.cmake | ||
|
||
recursive-include xgboost/dmlc-core/include * | ||
recursive-include xgboost/dmlc-core/include * | ||
recursive-include xgboost/dmlc-core/make * | ||
recursive-include xgboost/dmlc-core/src * | ||
include xgboost/dmlc-core/tracker/dmlc-submit | ||
recursive-include xgboost/dmlc-core/tracker/dmlc_tracker *.py | ||
include xgboost/dmlc-core/tracker/yarn/build.bat | ||
include xgboost/dmlc-core/tracker/yarn/build.sh | ||
include xgboost/dmlc-core/tracker/yarn/pom.xml | ||
recursive-include xgboost/dmlc-core/tracker/yarn/src * | ||
include xgboost/dmlc-core/windows/dmlc.sln | ||
include xgboost/dmlc-core/windows/dmlc/dmlc.vcxproj | ||
|
||
prune xgboost/dmlc-core/doc | ||
prune xgboost/dmlc-core/scripts/ | ||
|
||
global-exclude *.py[oc] |