init_venv: Pass --no-clean to pip on Windows.

Windows likes to fail deleting files for no reason, so we avoid deleting
stuff to avoid bogus build failures...
This commit is contained in:
Florian Bruhin 2014-12-09 22:01:19 +01:00
parent 5f28d13c64
commit 28fe84944c

View File

@ -81,6 +81,9 @@ def install_dev_packages():
"""Install the packages needed for development."""
for pkg in get_dev_packages():
utils.print_subtitle("Installing {}".format(pkg))
if os.name == 'nt':
venv_python('-m', 'pip', 'install', '--no-clean', pkg)
else:
venv_python('-m', 'pip', 'install', pkg)