diff options
author | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2023-07-05 04:53:17 -0700 |
---|---|---|
committer | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2023-07-05 04:53:17 -0700 |
commit | 7cd46f6842cc0e0c8279b1f1607d9ffb4acb9102 (patch) | |
tree | e4489aeaa83e3f944d70914689c4a02adb39a52f /e/bin/pip3 |
initial commit, includes venv
Diffstat (limited to 'e/bin/pip3')
-rwxr-xr-x | e/bin/pip3 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/e/bin/pip3 b/e/bin/pip3 new file mode 100755 index 0000000..c2f1d89 --- /dev/null +++ b/e/bin/pip3 @@ -0,0 +1,8 @@ +#!/home/knolax/code/rand/e/bin/python3.11 +# -*- coding: utf-8 -*- +import re +import sys +from pip._internal.cli.main import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) |