Skip to content

Commit 7e12979

Browse files
committed
fixup! Update the Writing pyproject.toml guide with new licensing guidelines
1 parent 4cc8c39 commit 7e12979

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

source/guides/writing-pyproject-toml.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,14 @@ The glob patterns must follow the specification:
369369
will be matched verbatim.
370370
- Special characters: ``*``, ``?``, ``**`` and character ranges: [] are supported.
371371
- Path delimiters must be the forward slash character (``/``).
372-
- Patterns are relative to the directory containing :file:`pyproject.toml`, the leading
373-
slash character is not allowed.
372+
- Patterns are relative to the directory containing :file:`pyproject.toml`, the
373+
leading slash character is not allowed.
374374
- Parent directory indicators (``..``) must not be used.
375+
- Each glob must match at least one file.
375376

376377
Literal paths are treated as valid globs.
378+
Any characters or character sequences not covered by this specification are
379+
invalid.
377380

378381

379382
``keywords``
@@ -526,7 +529,7 @@ A full example
526529
description = "Lovely Spam! Wonderful Spam!"
527530
readme = "README.rst"
528531
license = "MIT"
529-
license-files = ["LICENSE.*"]
532+
license-files = ["LICEN[CS]E.*"]
530533
keywords = ["egg", "bacon", "sausage", "tomatoes", "Lobster Thermidor"]
531534
classifiers = [
532535
"Development Status :: 4 - Beta",

0 commit comments

Comments
 (0)