Commit 4ee5c651 authored by Jason R. Coombs's avatar Jason R. Coombs

Remove unnecessary serialization/parsing of extras in EntryPoint.__init__. Fixes #1132.

parent d1f16fdd
...@@ -2392,9 +2392,7 @@ class EntryPoint(object): ...@@ -2392,9 +2392,7 @@ class EntryPoint(object):
self.name = name self.name = name
self.module_name = module_name self.module_name = module_name
self.attrs = tuple(attrs) self.attrs = tuple(attrs)
ex_spec = "x[%s]" % ','.join(extras) self.extras = tuple(extras)
req = packaging.requirements.Requirement(ex_spec)
self.extras = tuple(req.extras)
self.dist = dist self.dist = dist
def __str__(self): def __str__(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment