[Python-checkins] r53834 - sandbox/trunk/setuptools/setuptools/command/install.py

phillip.eby python-checkins at python.org
Tue Feb 20 23:45:41 CET 2007


Author: phillip.eby
Date: Tue Feb 20 23:45:40 2007
New Revision: 53834

Modified:
   sandbox/trunk/setuptools/setuptools/command/install.py
Log:
Respect possible entry point override of 'easy_install' command.


Modified: sandbox/trunk/setuptools/setuptools/command/install.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/install.py	(original)
+++ sandbox/trunk/setuptools/setuptools/command/install.py	Tue Feb 20 23:45:40 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