diff options
author | PJ Eby <distutils-sig@python.org> | 2006-12-29 00:34:24 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2006-12-29 00:34:24 +0000 |
commit | a2c732458d913a8eac68ad2c19af09167e0ccbfa (patch) | |
tree | ba15125e4359791472f9ec622abede0b4e40c7ef /setuptools/command/easy_install.py | |
parent | df37d56dd31eaa0ea6f11f04c11a52f787a8309e (diff) | |
download | external_python_setuptools-a2c732458d913a8eac68ad2c19af09167e0ccbfa.tar.gz external_python_setuptools-a2c732458d913a8eac68ad2c19af09167e0ccbfa.tar.bz2 external_python_setuptools-a2c732458d913a8eac68ad2c19af09167e0ccbfa.zip |
Removed all special support for Sourceforge mirrors, as Sourceforge's
mirror system now works well for non-browser downloads.
(backport from trunk)
--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4053178
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 3b3ca57f..a565be4f 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -70,7 +70,6 @@ class easy_install(Command): ('editable', 'e', "Install specified packages in editable form"), ('no-deps', 'N', "don't install dependencies"), ('allow-hosts=', 'H', "pattern(s) that hostnames must match"), - ('sf-mirrors=', None, "Sourceforge mirror(s) to use"), ] boolean_options = [ 'zip-ok', 'multi-version', 'exclude-scripts', 'upgrade', 'always-copy', @@ -80,6 +79,7 @@ class easy_install(Command): negative_opt = {'always-unzip': 'zip-ok'} create_index = PackageIndex + def initialize_options(self): self.zip_ok = None self.install_dir = self.script_dir = self.exclude_scripts = None @@ -90,7 +90,7 @@ class easy_install(Command): self.optimize = self.record = None self.upgrade = self.always_copy = self.multi_version = None self.editable = self.no_deps = self.allow_hosts = None - self.root = self.prefix = self.no_report = self.sf_mirrors = None + self.root = self.prefix = self.no_report = None # Options not specifiable via command line self.package_index = None @@ -169,7 +169,6 @@ class easy_install(Command): if self.package_index is None: self.package_index = self.create_index( self.index_url, search_path = self.shadow_path, hosts=hosts, - sf_mirrors = self.sf_mirrors ) self.local_index = Environment(self.shadow_path+sys.path) @@ -203,6 +202,7 @@ class easy_install(Command): self.outputs = [] + def run(self): if self.verbose<>self.distribution.verbose: log.set_verbosity(self.verbose) |