Lines Matching +full:curl +full:- +full:for +full:- +full:win
1 # coding: utf-8
25 modularcrypto repos for more accurate coverage data.
28 deps_dir = os.path.join(build_root, 'modularcrypto-deps')
37 print("Checking out modularcrypto packages for coverage")
38 for other_package in other_packages:
77 code += "(New-Object Net.WebClient).DownloadFile('%s', '%s');" % (url, dest_path)
78 _execute([powershell_exe, '-Command', code], dest, 'Unable to connect to')
82 ['curl', '-L', '--silent', '--show-error', '-O', url],
101 r'([-._]?(?:alpha|a|beta|b|preview|pre|c|rc)\.?\d*)?'
102 r'(-\d+|(?:[-._]?(?:rev|r|post)\.?\d*))?'
103 r'([-._]?dev\.?\d*)?',
118 pre = pre.lstrip('._-')
127 'a': -3,
128 'b': -2,
129 'rc': -1,
154 dev_tup = (-4, dev_dig)
203 Check if all members of the archive are in a single top-level directory
214 for info in _list_archive_members(archive):
237 Returns a normalized file path for an archive info object
291 If running setup.py, change to this dir first - a unicode string
299 for zi in zf.infolist():
337 for info in _list_archive_members(ar):
346 for info, rel_path in members:
369 '--root=%s' % root,
370 '--install-lib=%s' % install_lib,
371 '--no-compile'
392 A sorted generator of 2-element tuples:
394 1: A tuple of tuples containing integers - this is the output of
395 _tuple_from_ver() for the PEP 440 version number and is intended
396 for comparing versions
400 for v in releases:
420 will be None, or a comma-separated list of conditions that must be
434 ver_str = ver_str[:-2]
438 for part in map(str_cls.strip, requires_python.split(',')):
474 A unicode string URL, or None if not a valid release for the current
482 win_arch = 'win32' if sys.maxsize == 2147483647 else 'win-amd64'
484 exe_suffix = '.%s-py%d.%d.exe' % (win_arch, version_info[0], version_info[1])
491 for download in downloads:
498 parts = os.path.basename(download['url']).split('-')
499 tag_impl = parts[-3]
500 tag_abi = parts[-2]
501 tag_arch = parts[-1].split('.')[0]
508 # Find the most-specific wheel possible
509 for tag in valid_tags:
535 A unicode path to a temporary diretory to use for downloads
542 for p in packages:
554 for part in parts:
567 pkg_info = json.loads(f.read().decode('utf-8'))
579 … for ver_str, ver_tup in reversed(_sort_pep440_versions(pkg_info['releases'], False)):
600 Does basic parsing of pip requirements files, to allow for
608 - 'type' ('any', 'url', '==', '>=')
609 - 'pkg'
610 - 'ver' (if 'type' == '==' or 'type' == '>=')
619 contents = f.read().decode('utf-8')
621 for line in re.split(r'\r?\n', contents):
638 if re.match(r'^\s*-r\s*', package):
639 sub_req_file = re.sub(r'^\s*-r\s*', '', package)
662 if re.search(r'[^ a-zA-Z0-9\-]', package):
684 A 2-element tuple of (stdout, stderr)
696 if retry and retry in stderr.decode('utf-8'):
698 e = OSError('subprocess exit code for "%s" was %d: %s' % (' '.join(params), code, stderr))