summaryrefslogtreecommitdiff
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorDeniz Taneli <7292227+dtaneli@users.noreply.github.com>2018-10-27 13:19:22 +0100
committerDeniz Taneli <7292227+dtaneli@users.noreply.github.com>2018-10-27 15:31:05 +0100
commitca0760af2071c333cda28d18279db95455ffa2de (patch)
tree9ccbd66c5cecbfa38981cdc29544fd72f2827921 /setuptools/command/egg_info.py
parent1fb56a315f92e09d930ab7c2c787adbaead64d76 (diff)
downloadpython-setuptools-git-ca0760af2071c333cda28d18279db95455ffa2de.tar.gz
Setuptools will install licenses if included in setup.cfg
Addressing #357 `python setup.py sdist` now includes the license file if `license_file` is included in `setup.cfg` unless it is explicitly excluded in `MANIFEST.in`. Co-Authored-By: Poyzan Nur Taneli <31743851+ptaneli@users.noreply.github.com>
Diffstat (limited to 'setuptools/command/egg_info.py')
-rw-r--r--setuptools/command/egg_info.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index bd116e1f..93100ab9 100644
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -568,6 +568,7 @@ class manifest_maker(sdist):
def add_defaults(self):
sdist.add_defaults(self)
+ self.check_license()
self.filelist.append(self.template)
self.filelist.append(self.manifest)
rcfiles = list(walk_revctrl())