forked from pypa/setuptools
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to explicit test for list/tuple
As per discussion in pypa#1769 (comment)
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 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,3 +1,3 @@ | ||
The ``package_data`` and ``exclude_package_data`` arguments expect a dictionary whose values are a list of strings that represent paths/globs. | ||
Check these arguments more thoroughly, such that an error is raised when providing a dictionary with a string value. | ||
Also verify that dictionary values are multi-use iterables of strings (i.e. not single-use generators). | ||
Also verify that dictionary values are lists (or tuples) of strings (i.e. not single-use generators or sets). |
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