Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hookutils: adjust behavior of collect_data_files with include_py_files
Adjust the behavior of `collect_data_files` when the `include_py_files` flag is enabled: collect only `.py` and `.pyc` files, and never collect `.pyc` files from the `__pycache__` directory. Update the description to note that module collection mode is preferable way of ensuring that source .py files are collected (in addition or in lieu to byte-compiled modules in PYZ). Adjust the `test_collect_data_all_included` accordingly.
- Loading branch information
Showing
2 changed files
with
88 additions
and
56 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
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