aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/dist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-12-31 12:35:32 -0500
committerJason R. Coombs <jaraco@jaraco.com>2014-12-31 12:35:32 -0500
commit80a28fa8c044ccb74e4ae54544be8c449ebd03e8 (patch)
treea0e8f9a1fa48704f535b5597461dfc4c381d1035 /setuptools/dist.py
parenta8cc5bd6104fe69756ae188e1482eedd5840d34b (diff)
downloadexternal_python_setuptools-80a28fa8c044ccb74e4ae54544be8c449ebd03e8.tar.gz
external_python_setuptools-80a28fa8c044ccb74e4ae54544be8c449ebd03e8.tar.bz2
external_python_setuptools-80a28fa8c044ccb74e4ae54544be8c449ebd03e8.zip
Use underlying invocation of ._load directly
Diffstat (limited to 'setuptools/dist.py')
-rw-r--r--setuptools/dist.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index 7a94d4b3..eb146444 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -434,7 +434,8 @@ class Distribution(_Distribution):
def print_commands(self):
for ep in pkg_resources.iter_entry_points('distutils.commands'):
if ep.name not in self.cmdclass:
- cmdclass = ep.load(False) # don't require extras, we're not running
+ # don't require extras as the commands won't be invoked
+ cmdclass = ep._load()
self.cmdclass[ep.name] = cmdclass
return _Distribution.print_commands(self)