diff options
| author | PJ Eby <distutils-sig@python.org> | 2006-02-08 05:46:54 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2006-02-08 05:46:54 +0000 |
| commit | 81bd937426b4f47094ae50157b12f82093a8f3ef (patch) | |
| tree | c6f7335fd348f13d42c246236f9306f3745e6725 /setuptools/command/easy_install.py | |
| parent | ca9ccbf6e73daf553bc41d5abd02f8ebf0d44b45 (diff) | |
| download | python-setuptools-git-81bd937426b4f47094ae50157b12f82093a8f3ef.tar.gz | |
The ``--find-links`` option previously scanned all supplied URLs and
directories as early as possible, but now only directories and direct
archive links are scanned immediately. URLs are not retrieved unless a
package search was already going to go online due to a package not being
available locally, or due to the use of the ``--update`` or ``-U``
option. Also, fixed the ``develop`` command ignoring ``--find-links``.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042262
Diffstat (limited to 'setuptools/command/easy_install.py')
| -rwxr-xr-x | setuptools/command/easy_install.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 31975f63..abf2ea14 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -194,7 +194,7 @@ class easy_install(Command): self.find_links = self.find_links.split() else: self.find_links = [] - + self.package_index.add_find_links(self.find_links) self.set_undefined_options('install_lib', ('optimize','optimize')) if not isinstance(self.optimize,int): try: @@ -224,8 +224,6 @@ class easy_install(Command): if self.verbose<>self.distribution.verbose: log.set_verbosity(self.verbose) try: - for link in self.find_links: - self.package_index.scan_url(link) for spec in self.args: self.easy_install(spec, not self.no_deps) if self.record: @@ -244,6 +242,8 @@ class easy_install(Command): log.set_verbosity(self.distribution.verbose) + + def install_egg_scripts(self, dist): """Write all the scripts for `dist`, unless scripts are excluded""" |
