aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-03-19 14:10:49 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-03-19 14:10:49 -0400
commit3ff70513dceb10287c79ca9eb902e42b74f3e55f (patch)
tree7e6a4fefc9c5839a1f3e4fe32669befdc529c768
parent1581c8404e12f32190d3bc29825b9910a46f2347 (diff)
downloadexternal_python_setuptools-3ff70513dceb10287c79ca9eb902e42b74f3e55f.tar.gz
external_python_setuptools-3ff70513dceb10287c79ca9eb902e42b74f3e55f.tar.bz2
external_python_setuptools-3ff70513dceb10287c79ca9eb902e42b74f3e55f.zip
Replace deprecated usage with preferred usage. Fixes #364.
-rwxr-xr-xsetuptools/command/egg_info.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index a9940677..50f3d5c0 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -168,7 +168,8 @@ class egg_info(Command):
self.mkpath(self.egg_info)
installer = self.distribution.fetch_build_egg
for ep in iter_entry_points('egg_info.writers'):
- writer = ep.load(installer=installer)
+ ep.require(installer=installer)
+ writer = ep.resolve()
writer(self, ep.name, os.path.join(self.egg_info, ep.name))
# Get rid of native_libs.txt if it was put there by older bdist_egg