[Python-checkins] r46389 - sandbox/trunk/setuptools/setuptools/command/easy_install.py

phillip.eby python-checkins at python.org
Fri May 26 21:03:31 CEST 2006


Author: phillip.eby
Date: Fri May 26 21:03:28 2006
New Revision: 46389

Modified:
   sandbox/trunk/setuptools/setuptools/command/easy_install.py
Log:
Don't make things warnings that aren't; update info text for 
--multi-version.


Modified: sandbox/trunk/setuptools/setuptools/command/easy_install.py
==============================================================================
--- sandbox/trunk/setuptools/setuptools/command/easy_install.py	(original)
+++ sandbox/trunk/setuptools/setuptools/command/easy_install.py	Fri May 26 21:03:28 2006
@@ -496,7 +496,7 @@
         self.local_index.add(dist)
         self.install_egg_scripts(dist)
         self.installed_projects[dist.key] = dist
-        log.warn(self.installation_report(requirement, dist, *info))
+        log.info(self.installation_report(requirement, dist, *info))
         if not deps and not self.always_copy:
             return
         elif requirement is not None and dist.key != requirement.key:
@@ -649,7 +649,7 @@
 
         # Now run it, and return the result
         if self.editable:
-            log.warn(self.report_editable(spec, setup_script))
+            log.info(self.report_editable(spec, setup_script))
             return []
         else:
             return self.build_and_install(setup_script, setup_base)
@@ -865,10 +865,10 @@
         if self.multi_version and not self.no_report:
             msg += """
 
-Because this distribution was installed --multi-version or --install-dir,
-before you can import modules from this package in an application, you
-will need to 'import pkg_resources' and then use a 'require()' call
-similar to one of these examples, in order to select the desired version:
+Because this distribution was installed --multi-version, before you can
+import modules from this package in an application, you will need to
+'import pkg_resources' and then use a 'require()' call similar to one of
+these examples, in order to select the desired version:
 
     pkg_resources.require("%(name)s")  # latest installed version
     pkg_resources.require("%(name)s==%(version)s")  # this exact version


More information about the Python-checkins mailing list