Lines Matching +full:download +full:- +full:url
65 _python_cmd('setup.py', '-q', 'bdist_egg', '--dist-dir', to_dir)
116 """Download Setuptools."""
117 egg = os.path.join(to_dir, 'setuptools-%s-py%d.%d.egg'
125 # Remove previously-imported pkg_resources if present (see
126 # https://bitbucket.org/pypa/setuptools/pull-request/7/ for details).
156 # pkg_resources not available; setuptools is not installed; download
159 # no version of setuptools was found; allow download
182 'easy_install -U setuptools'.
202 Run the command to download target.
204 If the command fails, clean up before re-raising the error.
214 def download_file_powershell(url, target): argument
216 Download the file at url to target using Powershell.
225 "(new-object System.Net.WebClient).DownloadFile(%(url)r, %(target)r)"
230 '-Command',
240 cmd = ['powershell', '-Command', 'echo test']
250 def download_file_curl(url, target): argument
251 cmd = ['curl', url, '--silent', '--output', target]
256 cmd = ['curl', '--version']
266 def download_file_wget(url, target): argument
267 cmd = ['wget', url, '--quiet', '--output-document', target]
272 cmd = ['wget', '--version']
282 def download_file_insecure(url, target): argument
283 """Use Python to download the file, without connection authentication."""
284 src = urlopen(url)
313 Download setuptools from a specified location and return its filename.
316 as an sdist for download under the `download_base` URL (which should end
318 `delay` is the number of seconds to pause before an actual download
322 returning a function for downloading a URL to a target.
326 zip_name = "setuptools-%s.zip" % version
327 url = download_base + zip_name
330 log.warn("Downloading %s", url)
332 downloader(url, saveto)
342 return ['--user'] if options.user_install else []
349 '--user', dest='user_install', action='store_true', default=False,
352 '--download-base', dest='download_base', metavar="URL",
354 help='alternative URL from where to download the setuptools package')
356 '--insecure', dest='downloader_factory', action='store_const',
358 help='Use internal, non-validating downloader'
361 '--version', help="Specify which version to download",
365 '--to-dir',
366 help="Directory to save (and re-use) package",