aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-05-26 19:04:31 +0000
committerPJ Eby <distutils-sig@python.org>2006-05-26 19:04:31 +0000
commit893a3b57681828194d116ab26d2388bd065ceba2 (patch)
tree5e1b0f97ecbacdc6b041a157be75e71a49d36f1d /setuptools/command/easy_install.py
parent5dc9f89d1c28e6ebdb3f0bbfee0b0c543454419e (diff)
downloadexternal_python_setuptools-893a3b57681828194d116ab26d2388bd065ceba2.tar.gz
external_python_setuptools-893a3b57681828194d116ab26d2388bd065ceba2.tar.bz2
external_python_setuptools-893a3b57681828194d116ab26d2388bd065ceba2.zip
Don't make things warnings that aren't; update info text for
--multi-version. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4046390
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 8f256fd3..d6c02b9e 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -496,7 +496,7 @@ Please make the appropriate changes for your system and try again.
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 @@ Please make the appropriate changes for your system and try again.
# 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 @@ you ignore the conflicts, the installed package(s) may not work.
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