• 大小: 1.5MB
    文件类型: .py
    金币: 1
    下载: 0 次
    发布日期: 2023-11-13
  • 语言: Python
  • 标签: get-pip.py  下载  

资源简介

运行python get-pip.py. Downloading/unpacking pip Installing collected packages: pip Successfully installed pip Cleaning up...

资源截图

代码片段和文件信息

#!/usr/bin/env python
#
# Hi There!
# You may be wondering what this giant blob of binary data here is you might
# even be worried that we‘re up to something nefarious (good for you for being
# paranoid!). This is a base64 encoding of a zip file this zip file contains
# an entire copy of pip.
#
# Pip is a thing that installs packages pip itself is a package that someone
# might want to install especially if they‘re looking to run this get-pip.py
# script. Pip has a lot of code to deal with the security of installing
# packages various edge cases on various platforms and other such sort of
# “tribal knowledge“ that has been encoded in it‘s code base. Because of this
# we basically include an entire copy of pip inside this blob. We do this
# because the alternatives are attempt to implement a “minipip“ that probably
# doesn‘t do things correctly and has weird edge cases or compress pip itself
# down into a single file.
#
# If you‘re wondering how this is created the secret is
# “contrib/build-installer“ from the pip repository.

ZIPFILE = b“““
UEsDBBQAAAAIAHwVo0TVdmureAwAAOokAAAPAAAAcGlwL19faW5pdF9fLnB5pRprb+M28rt/BTdp
IKlrq00PxQHBuejdNosu0HaD7O71gKwhyBJts5FFlZSceNv+95sZkiJlKWkPp0VjSeQ8OO8Z9fzF
F51WX6xF/QWvD6w5tjtZz8S+kaplUvd3TdvkSvOZe6GP/ZqCtxsl96wRTcofC960Qtaa2eU3tW7z
qsrx5bVSUs3ZK7nf53Vpn25EQ3ceSSW3DhputzxY6lpRubUtbzNhsPMyK4VulVh3RHxOi42SWw96
KHqetqKdsz1XRadEXs2Z7tYHrjRAztk6/5TnirFzVstfcw++zjUnGSiH5ZWsN2L7lo57Qytz9qEp
4aT19ju+ybuq1d/zqnkt1T5v2/AYhZFAz5B7NnzrDp6U4O5R7EWVq8xtms3O2fud0GwjHrlmOWt4
0VUCINoje9jx2mIFNthB5CzLzHOWsQXLNXvgLAelnTNRixbOLzTubHccWWN7WXYVn7Mzx2zP476U
RrVnDIgrIAoiOy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