[setuptools]Ignore all *.h/*.cc et.al unrelated files packed into wheel #1316
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's New ?
在
pyproject.toml
添加对C++ 源码文件的忽略标记,避免其被打包进wheel 文件里。优化前的
![image](https://private-user-images.githubusercontent.com/9301846/348117538-804cc306-b243-43e2-9b65-cf70947d0d04.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDU2MTAsIm5iZiI6MTczOTM0NTMxMCwicGF0aCI6Ii85MzAxODQ2LzM0ODExNzUzOC04MDRjYzMwNi1iMjQzLTQzZTItOWI2NS1jZjcwOTQ3ZDBkMDQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDcyODMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGNhMzA3ZjUxZjFkMDVmYTMyN2IyMTZmOTQzZmFhOTYyMWQwYjdmYmU2MDljNDQ0MjM0ZjcwNTU2YWE5YTY0NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.be_dG8aDq3MS0SY6LOx2xhF6vrxuFHBKKHKrynufXA8)
wheel
内目录文件:优化后的
![image](https://private-user-images.githubusercontent.com/9301846/348117624-f9104085-e6cc-4463-93b6-268dbeeeebd8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNDU2MTAsIm5iZiI6MTczOTM0NTMxMCwicGF0aCI6Ii85MzAxODQ2LzM0ODExNzYyNC1mOTEwNDA4NS1lNmNjLTQ0NjMtOTNiNi0yNjhkYmVlZWViZDgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMDcyODMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTRlYjc3YTFjNjY5MWI1NjgyNzVjYmM1Y2EyYTU4ZmUxM2U0YzU3OWE2NWQzYzVkZmIyMGQwNWRiOGRiNGMzZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.LzkUpDov_ItKRch4IYy9YG8d7KLe4DlUfaoyM1Op6pk)
wheel
内目录文件: