mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
21b2d630ad
maybe fix #594? Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
21 lines
499 B
Python
21 lines
499 B
Python
# |~~\' |~~
|
|
# |__/||~~\|--|/~\\ /
|
|
# | ||__/|__| |\/
|
|
# |
|
|
|
|
import os
|
|
import sys
|
|
|
|
# Inject vendored directory into system path.
|
|
v_path = os.path.abspath(os.path.sep.join([os.path.dirname(os.path.realpath(__file__)), 'vendor']))
|
|
sys.path.insert(0, v_path)
|
|
|
|
# Inject patched directory into system path.
|
|
v_path = os.path.abspath(os.path.sep.join([os.path.dirname(os.path.realpath(__file__)), 'patched']))
|
|
sys.path.insert(0, v_path)
|
|
|
|
from .cli import cli
|
|
|
|
if __name__ == '__main__':
|
|
cli()
|