Commit 9c822a82 authored by Pedro Romano's avatar Pedro Romano

New command line option to enable downloading the distribute package from an alternative location.

--HG--
branch : distribute
extra : rebase_source : 114d0bb6c9c065ae369b8d0e603eb6d1d3a0b6fc
parent dbc8208b
......@@ -513,8 +513,12 @@ def main(version=DEFAULT_VERSION):
parser.add_option(
'--user', dest='user_install', action='store_true', default=False,
help='install in user site package (requires Python 2.6 or later)')
parser.add_option(
'--download-base', dest='download_base', metavar="URL",
default=DEFAULT_URL,
help='alternative URL from where to download the distribute package')
options, args = parser.parse_args()
tarball = download_setuptools()
tarball = download_setuptools(download_base=options.download_base)
_install(tarball, _build_install_args(options.user_install))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment