mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
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.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user