Skip to content

Commit 7fbf608

Browse files
cdce8pAA-Turner
andcommitted
Update default_license_files_globs
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
1 parent 2704faf commit 7fbf608

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/pyproject_toml.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ license
9999
A table with either a ``file`` key (a relative path to a license file) or a
100100
``text`` key (the license text).
101101
license-files
102-
A list of glob patterns for license files to include. Defaults to ``['COPYING*', 'LICENSE*']``.
102+
A list of glob patterns for license files to include.
103+
Defaults to ``['COPYING*', 'LICEN[CS]E*']``.
103104
authors
104105
A list of tables with ``name`` and ``email`` keys (both optional) describing
105106
the authors of the project.

flit_core/flit_core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class ConfigError(ValueError):
7474
'dynamic',
7575
}
7676

77-
default_license_files_globs = ['COPYING*', 'LICENSE*']
77+
default_license_files_globs = ['COPYING*', 'LICEN[CS]E*']
7878

7979

8080
def read_flit_config(path):

0 commit comments

Comments
 (0)