diff options
| author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-04-17 21:33:23 +0200 |
|---|---|---|
| committer | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-05-23 01:42:45 +0200 |
| commit | 482e8e7687e3272ca2d0b1d5d73b92c3219f4576 (patch) | |
| tree | 2d4ae8bd52a42e895fbe724aea1fd55c2a688231 /setuptools/command/egg_info.py | |
| parent | b16725ac388b6a0bab6c0ff79d809559589be248 (diff) | |
| download | python-setuptools-git-482e8e7687e3272ca2d0b1d5d73b92c3219f4576.tar.gz | |
Overwrite exlude from MANIFEST with license_files option
* needed for 'License-File' metadata, as this is written
before MANIFEST is read
Diffstat (limited to 'setuptools/command/egg_info.py')
| -rw-r--r-- | setuptools/command/egg_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 67259c7c..18b81340 100644 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -539,9 +539,9 @@ class manifest_maker(sdist): if not os.path.exists(self.manifest): self.write_manifest() # it must exist so it'll get in the list self.add_defaults() - self.add_license_files() if os.path.exists(self.template): self.read_template() + self.add_license_files() self.prune_file_list() self.filelist.sort() self.filelist.remove_duplicates() |
