facf0c92e0
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
32 lines
808 B
Python
32 lines
808 B
Python
"""Basic pip uninstallation support, helper for the Windows uninstaller"""
|
|
|
|
import argparse
|
|
import ensurepip
|
|
import sys
|
|
|
|
|
|
def _main(argv=None):
|
|
parser = argparse.ArgumentParser(prog="python -m ensurepip._uninstall")
|
|
parser.add_argument(
|
|
"--version",
|
|
action="version",
|
|
version="pip {}".format(ensurepip.version()),
|
|
help="Show the version of pip this will attempt to uninstall.",
|
|
)
|
|
parser.add_argument(
|
|
"-v", "--verbose",
|
|
action="count",
|
|
default=0,
|
|
dest="verbosity",
|
|
help=("Give more output. Option is additive, and can be used up to 3 "
|
|
"times."),
|
|
)
|
|
|
|
args = parser.parse_args(argv)
|
|
|
|
return ensurepip._uninstall_helper(verbosity=args.verbosity)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(_main())
|