summaryrefslogtreecommitdiff
path: root/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-06-14 01:27:12 +0000
committerPJ Eby <distutils-sig@python.org>2005-06-14 01:27:12 +0000
commit7eb07807d5b81aa01f2134ccdee53fc6ea5427a9 (patch)
tree05ce36bc9fd1a3562452e31ade7a4fb675c7830f /easy_install.py
parent26d0194ba2ff557086b5d2a3b4c50b9a9963132f (diff)
downloadpython-setuptools-bitbucket-7eb07807d5b81aa01f2134ccdee53fc6ea5427a9.tar.gz
Cosmetic improvements to progress messages.
Diffstat (limited to 'easy_install.py')
-rwxr-xr-xeasy_install.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/easy_install.py b/easy_install.py
index 77205c19..24f33a59 100755
--- a/easy_install.py
+++ b/easy_install.py
@@ -143,14 +143,13 @@ class easy_install(Command):
def easy_install(self, spec):
tmpdir = self.alloc_tmp()
try:
- print "Downloading", spec
download = self.package_index.download(spec, tmpdir)
if download is None:
raise RuntimeError(
"Could not find distribution for %r" % spec
)
- print "Installing", os.path.basename(download)
+ print "Processing", os.path.basename(download)
for dist in self.install_eggs(download, self.zip_ok, tmpdir):
self.package_index.add(dist)
self.install_egg_scripts(dist)
@@ -162,6 +161,7 @@ class easy_install(Command):
+
def install_egg_scripts(self, dist):
metadata = dist.metadata
if self.exclude_scripts or not metadata.metadata_isdir('scripts'):
@@ -172,7 +172,7 @@ class easy_install(Command):
for script_name in metadata.metadata_listdir('scripts'):
target = os.path.join(self.script_dir, script_name)
- print "Installing", script_name, "to", target
+ print "Installing", script_name, "script to", self.script_dir
script_text = metadata.get_metadata('scripts/'+script_name)
script_text = script_text.replace('\r','\n')
@@ -226,10 +226,10 @@ class easy_install(Command):
"Multiple setup scripts in %s" % dist_filename
)
setup_script = setups[0]
-
from setuptools.command import bdist_egg
sys.modules.setdefault('distutils.command.bdist_egg', bdist_egg)
try:
+ print "Running", setup_script[len(tmpdir)+1:]
run_setup(setup_script, ['-q', 'bdist_egg'])
except SystemExit, v:
raise RuntimeError(