bugs on windows.

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-20 19:52:44 -04:00
parent 7910eca658
commit a3b968fcdb
+4
View File
@@ -1127,6 +1127,10 @@ def pip_install(
no_deps=True, verbose=False, block=True
):
# Block is always true on windows, for there be bugs.
if os.name == 'nt':
block=True
# Create files for hash mode.
if (not ignore_hashes) and (r is None):
r = tempfile.mkstemp(prefix='pipenv-', suffix='-requirement.txt')[1]