From 3d7347f8e45d2dfa5346565d7dc45f784e230898 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Fri, 22 Dec 2017 14:05:23 -0500 Subject: [PATCH] Don't shellquote executable names Quoting the executable results in a traceback on Linux systems (because the quotes added by shellquote are considered part of the executable name), and is unnecessary on Windows systems. This fixes #1240. --- pipenv/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/utils.py b/pipenv/utils.py index 03f2740a..e7e8d0b2 100644 --- a/pipenv/utils.py +++ b/pipenv/utils.py @@ -535,7 +535,7 @@ def resolve_deps(deps, which, which_pip, project, sources=None, verbose=False, p markers_lookup = {} python_path = which('python', allow_global=allow_global) - backup_python_path = shellquote(sys.executable) + backup_python_path = sys.executable results = []