##// END OF EJS Templates
run-tests: disable caching of the wheels when installing test Mercurial...
run-tests: disable caching of the wheels when installing test Mercurial It seems like this command doesn't currently cause the wheels to be cached, but since I already had to prevent `pip` from caching when building wheels in 1a09563a615c, and also disable it in a test in 30b5dc517ec2, let's just be explicit that we don't want caching, in case the default behavior changes.

File last commit:

r49730:6000f5b2 default
r53222:a782fb58 stable
Show More
dirs_corpus.py
27 lines | 661 B | text/x-python | PythonLexer
import argparse
import zipfile
ap = argparse.ArgumentParser()
ap.add_argument("out", metavar="some.zip", type=str, nargs=1)
args = ap.parse_args()
with zipfile.ZipFile(args.out[0], "w", zipfile.ZIP_STORED) as zf:
zf.writestr(
"greek-tree",
"\n".join(
[
"iota",
"A/mu",
"A/B/lambda",
"A/B/E/alpha",
"A/B/E/beta",
"A/D/gamma",
"A/D/G/pi",
"A/D/G/rho",
"A/D/G/tau",
"A/D/H/chi",
"A/D/H/omega",
"A/D/H/psi",
]
),
)