aboutsummaryrefslogtreecommitdiffstats
path: root/easy_install.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-05-29 01:36:01 +0000
committerPJ Eby <distutils-sig@python.org>2005-05-29 01:36:01 +0000
commit70ade02753310bf976238754da2afab7c075f967 (patch)
tree99906d6d0a3aba322c90728def5722bd32586061 /easy_install.py
parent2c97d740756c345ac34fec9c547de07c113082d3 (diff)
downloadexternal_python_setuptools-70ade02753310bf976238754da2afab7c075f967.tar.gz
external_python_setuptools-70ade02753310bf976238754da2afab7c075f967.tar.bz2
external_python_setuptools-70ade02753310bf976238754da2afab7c075f967.zip
Add link to Python Eggs page in doc; fix a problem with non-standard source
distros (where setup.py is in the archive root). --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041019
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 e88c0525..0ca094b2 100755
--- a/easy_install.py
+++ b/easy_install.py
@@ -13,7 +13,9 @@ Downloading and Installing a Package
------------------------------------
For basic use of ``easy_install``, you need only supply the filename or URL of
-a source distribution or .egg file (Python Egg).
+a source distribution or .egg file (`Python Egg`__).
+
+__ http://peak.telecommunity.com/DevCenter/PythonEggs
**Example 1**. Download a source distribution, automatically building and
installing it::
@@ -160,8 +162,6 @@ from pkg_resources import *
-
-
class Installer:
"""Manage a download/build/install process"""
@@ -279,7 +279,7 @@ class Installer:
)
setup_script = setups[0]
- self._run_setup(setups[0])
+ self._run_setup(setup_script)
for egg in glob(
os.path.join(os.path.dirname(setup_script),'dist','*.egg')
):