summaryrefslogtreecommitdiff
path: root/setuptools/dist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-09-17 17:05:07 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-09-17 17:05:07 -0400
commit5e4eea7d600f44321e76689890f9f885669f34c9 (patch)
tree490fe5028f963f18e884a0a8f6abb323fb2ce1f6 /setuptools/dist.py
parent22aa7670dd81117df523109b74011b5609acd362 (diff)
downloadpython-setuptools-git-5e4eea7d600f44321e76689890f9f885669f34c9.tar.gz
In test command, add installed eggs to PYTHONPATH when invoking tests so that subprocesses will also have the dependencies available. Fixes #794.
Diffstat (limited to 'setuptools/dist.py')
-rw-r--r--setuptools/dist.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index b004f928..364f2b4d 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -362,6 +362,7 @@ class Distribution(_Distribution):
)
for dist in resolved_dists:
pkg_resources.working_set.add(dist, replace=True)
+ return resolved_dists
def finalize_options(self):
_Distribution.finalize_options(self)