"""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())
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__init__.py | File | 7.04 KB | 0644 |
|
__init__.pyc | File | 6.33 KB | 0644 |
|
__init__.pyo | File | 6.33 KB | 0644 |
|
__main__.py | File | 88 B | 0644 |
|
__main__.pyc | File | 265 B | 0644 |
|
__main__.pyo | File | 265 B | 0644 |
|
_uninstall.py | File | 808 B | 0644 |
|
_uninstall.pyc | File | 1.1 KB | 0644 |
|
_uninstall.pyo | File | 1.1 KB | 0644 |
|