From a3b968fcdb6d93777f68dad804f276814ebe21ba Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 20 Sep 2017 19:52:44 -0400 Subject: [PATCH] bugs on windows. Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pipenv/cli.py b/pipenv/cli.py index 73f60cc5..c45d3d9c 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -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]