summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorSteve Kowalik <steven@wedontsleep.org>2016-03-07 10:33:25 +1100
committerSteve Kowalik <steven@wedontsleep.org>2016-03-07 10:33:25 +1100
commitde4bdcffb9f11769465ba3b6bb67cfb8a5b196e2 (patch)
tree4cba92e3e008b8bab32684f343ba912dc47d861b /setuptools/command
parent0ed33b7a4db605e4608f56d6bdb5efe81762b4cb (diff)
downloadpython-setuptools-git-de4bdcffb9f11769465ba3b6bb67cfb8a5b196e2.tar.gz
Change pkg_resources.Requirement to be a subclass of packaging
Diffstat (limited to 'setuptools/command')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
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(