Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[python] remove unnecessary files to reduce sdist size #3579

Merged
merged 1 commit into from
Nov 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion python-package/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ include *.rst *.txt
recursive-include lightgbm *.py *.txt *.so
recursive-include compile *.txt *.so
recursive-include compile/Release *.dll
recursive-include compile/compute *
recursive-include compile/compute/ *.txt
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this line from * to *.txt to exclude files like .appveyor.yml while still including important files like CMakeLists.txt and the license

recursive-include compile/compute/cmake *
recursive-include compile/compute/include *
recursive-include compile/compute/meta *
recursive-include compile/include *
recursive-include compile/src *
recursive-include compile/windows LightGBM.sln LightGBM.vcxproj
recursive-include compile/windows/x64/DLL *.dll
global-exclude *.py[co]
exclude compile/compute/.git