From 8d98a751a4edd09f3df8661e750981cc397d3811 Mon Sep 17 00:00:00 2001 From: nonylene Date: Fri, 19 May 2017 14:21:02 +0900 Subject: [PATCH] use sys.path.insert(1, v_path) instead of sys.path.append(v_path) packages under vendor/ should be used than that installed by pip. --- pipenv/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/__init__.py b/pipenv/__init__.py index 2a7674b7..867f9450 100644 --- a/pipenv/__init__.py +++ b/pipenv/__init__.py @@ -8,7 +8,7 @@ import sys # Inject vendored directory into system path. v_path = os.path.sep.join([os.path.dirname(os.path.realpath(__file__)), 'vendor']) -sys.path.append(v_path) +sys.path.insert(1, v_path) from .cli import cli