mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
8d98a751a4
packages under vendor/ should be used than that installed by pip.
18 lines
309 B
Python
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()
|