From de4bdcffb9f11769465ba3b6bb67cfb8a5b196e2 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 7 Mar 2016 10:33:25 +1100 Subject: Change pkg_resources.Requirement to be a subclass of packaging --- setuptools/command/easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/easy_install.py') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 97de3395..0733065e 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -710,7 +710,7 @@ class easy_install(Command): elif requirement is None or dist not in requirement: # if we wound up with a different version, resolve what we've got distreq = dist.as_requirement() - requirement = Requirement(str(distreq.req)) + requirement = Requirement(str(distreq)) log.info("Processing dependencies for %s", requirement) try: distros = WorkingSet([]).resolve( -- cgit v1.2.1