diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-17 10:30:34 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-03-17 10:30:34 -0400 |
commit | cb9b87935598054da655f7367596d65364e576a3 (patch) | |
tree | 4c5cf3661a613e3b636708997a71cc3fbcacd6ca /setuptools/dist.py | |
parent | d8170d79a1059b6c58e1b54d94c6600f85354bf6 (diff) | |
parent | 025690980c3540dc170abec3a3b18fd11f8b15bc (diff) | |
download | external_python_setuptools-cb9b87935598054da655f7367596d65364e576a3.tar.gz external_python_setuptools-cb9b87935598054da655f7367596d65364e576a3.tar.bz2 external_python_setuptools-cb9b87935598054da655f7367596d65364e576a3.zip |
Merge branch 'master' into HEAD
Diffstat (limited to 'setuptools/dist.py')
-rw-r--r-- | setuptools/dist.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py index a6928c49..b74dd0f5 100644 --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -413,7 +413,9 @@ class Distribution(Distribution_parse_config_files, _Distribution): # Since this gets called multiple times at points where the # keys have become 'converted' extras, ensure that we are only # truly adding extras we haven't seen before here. - self.metadata.provides_extras.add(extra.split(':')[0]) + extra = extra.split(':')[0] + if extra: + self.metadata.provides_extras.add(extra) self._convert_extras_requirements() self._move_install_requirements_markers() |