Implements the Distutils 'install' command."""
+from distutils import log
+
# created 1999/03/13, Greg Ward
__revision__ = "$Id$"
self.install_scripts is None or
self.install_data is None):
raise DistutilsOptionError, \
- "install-base or install-platbase supplied, but " + \
- "installation scheme is incomplete"
+ ("install-base or install-platbase supplied, but "
+ "installation scheme is incomplete")
return
if self.home is not None:
(path_file, extra_dirs) = self.extra_path
else:
raise DistutilsOptionError, \
- "'extra_path' option must be a list, tuple, or " + \
- "comma-separated string with 1 or 2 elements"
+ ("'extra_path' option must be a list, tuple, or "
+ "comma-separated string with 1 or 2 elements")
# convert to local form in case Unix notation used (as it
# should be in setup scripts)
if (self.warn_dir and
not (self.path_file and self.install_path_file) and
install_lib not in sys_path):
- self.warn(("modules installed to '%s', which is not in " +
- "Python's module search path (sys.path) -- " +
- "you'll have to change the search path yourself") %
- self.install_lib)
+ log.debug(("modules installed to '%s', which is not in "
+ "Python's module search path (sys.path) -- "
+ "you'll have to change the search path yourself"),
+ self.install_lib)
# run ()