[Python-checkins] r53835 - sandbox/branches/setuptools-0.6/setuptools/command/install.py

phillip.eby python-checkins at python.org
Tue Feb 20 23:50:44 CET 2007


Author: phillip.eby
Date: Tue Feb 20 23:50:42 2007
New Revision: 53835

Modified:
   sandbox/branches/setuptools-0.6/setuptools/command/install.py
Log:
Respect possible entry point override of 'easy_install' command.
(backport from trunk)


Modified: sandbox/branches/setuptools-0.6/setuptools/command/install.py
==============================================================================
--- sandbox/branches/setuptools-0.6/setuptools/command/install.py	(original)
+++ sandbox/branches/setuptools-0.6/setuptools/command/install.py	Tue Feb 20 23:50:42 2007
@@ -82,7 +82,7 @@
 
     def do_egg_install(self):
 
-        from setuptools.command.easy_install import easy_install
+        easy_install = self.distribution.get_command_class('easy_install')
 
         cmd = easy_install(
             self.distribution, args="x", root=self.root, record=self.record,


More information about the Python-checkins mailing list