summaryrefslogtreecommitdiff
path: root/bin/pip-script.py
diff options
context:
space:
mode:
authorrahulp132020-03-17 14:55:41 +0530
committerrahulp132020-03-17 14:55:41 +0530
commit296443137f4288cb030e92859ccfbe3204bc1088 (patch)
treeca4798c2da1e7244edc3bc108d81b462b537aea2 /bin/pip-script.py
parent0db48f6533517ecebfd9f0693f89deca28408b76 (diff)
downloadKiCad-eSim-296443137f4288cb030e92859ccfbe3204bc1088.tar.gz
KiCad-eSim-296443137f4288cb030e92859ccfbe3204bc1088.tar.bz2
KiCad-eSim-296443137f4288cb030e92859ccfbe3204bc1088.zip
initial commit
Diffstat (limited to 'bin/pip-script.py')
-rw-r--r--bin/pip-script.py12
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')()
+ )