diff options
Diffstat (limited to 'bin/pip-script.py')
-rw-r--r-- | bin/pip-script.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/pip-script.py b/bin/pip-script.py new file mode 100644 index 0000000..6b0a456 --- /dev/null +++ b/bin/pip-script.py @@ -0,0 +1,12 @@ +#!python.exe +# EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip' +__requires__ = 'pip==9.0.1' +import re +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) + sys.exit( + load_entry_point('pip==9.0.1', 'console_scripts', 'pip')() + ) |