Re @sddlmZddlmZddlmZddlmZddlm Z ddl m Z ddl m Z ddlmZmZdd lmZdd lmZerdd lmZdd lmZGd ddeeZdS))absolute_import)canonicalize_name)Command)SessionCommandMixin)SUCCESS)InstallationError)parse_requirements)install_req_from_line#install_req_from_parsed_requirement)(protect_pip_from_modification_on_windows)MYPY_CHECK_RUNNING)Values)Listc@s4eZdZdZdZddZddZdS)UninstallCommandaB Uninstall packages. pip is able to uninstall most installed packages. Known exceptions are: - Pure distutils packages installed with ``python setup.py install``, which leave behind no metadata to determine what files were installed. - Script wrappers installed by ``python setup.py develop``. zU %prog [options] ... %prog [options] -r ...c Csp|jjdddddddgdd d d |jjd d ddddd d|jjd|jdS)Nz-rz --requirementdest requirementsactionappenddefaultmetavarfilehelpzjUninstall all the packages listed in the given requirements file. This option can be used multiple times.z-yz--yesyes store_truez2Don't ask for confirmation of uninstall deletions.r)cmd_opts add_optionparserinsert_option_group)selfr/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/commands/uninstall.py add_options%s    zUninstallCommand.add_optionsc Cs?|j|}i}x?|D]7}t|d|j}|jr||t|js