Files
pipenv/pipenv/__init__.py
T
nonylene 8d98a751a4 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.
2017-05-19 14:21:02 +09:00

18 lines
309 B
Python

# |~~\' |~~
# |__/||~~\|--|/~\\ /
# | ||__/|__| |\/
# |
import os
import sys
# Inject vendored directory into system path.
v_path = os.path.sep.join([os.path.dirname(os.path.realpath(__file__)), 'vendor'])
sys.path.insert(1, v_path)
from .cli import cli
if __name__ == '__main__':
cli()