diff options
| author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-04-03 21:34:00 +0200 |
|---|---|---|
| committer | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-04-03 21:34:00 +0200 |
| commit | 608c376e86326c879dd52b56660b2247a3ca854e (patch) | |
| tree | 5ce7ced6a4e80a07aaa51f05d479fd0341dfa482 /setuptools/command | |
| parent | 0f34639e5aa630b8cbe32af9cfe8dfec7be890e7 (diff) | |
| download | python-setuptools-git-608c376e86326c879dd52b56660b2247a3ca854e.tar.gz | |
Small changes
Diffstat (limited to 'setuptools/command')
| -rw-r--r-- | setuptools/command/sdist.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py index 278b8ce0..a6ea814a 100644 --- a/setuptools/command/sdist.py +++ b/setuptools/command/sdist.py @@ -213,6 +213,9 @@ class sdist(sdist_add_defaults, orig.sdist): patterns.append(opts['license_file'][1]) if 'license_file' not in opts and 'license_files' not in opts: + # Default patterns match the ones wheel uses + # See https://wheel.readthedocs.io/en/stable/user_guide.html + # -> 'Including license files in the generated wheel file' patterns = ('LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*') for pattern in patterns: |
