Skip to content

Commit f49d589

Browse files
committed
Update URL in warning
1 parent dee0a5e commit f49d589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/dist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def _find_pattern(pattern: str, enforce_match: bool = True) -> list[str]:
509509
f"Pattern {pattern!r} should be relative and must not start with '/'"
510510
)
511511
if re.match(r'^[\w\-\.\/\*\?\[\]]+$', pattern) is None:
512-
pypa_guides = "specifications/pyproject-toml/#license-files"
512+
pypa_guides = "specifications/glob-patterns/"
513513
SetuptoolsDeprecationWarning.emit(
514514
"Please provide a valid glob pattern.",
515515
"Pattern {pattern!r} contains invalid characters.",

0 commit comments

Comments
 (0)