o
    Ëý°já  ã                   @   sZ   d dl mZ d dlmZ d dlmZmZ g d¢ZeeƒZdee	 dee	e	f fdd„Z
d	S )
é    )ÚDistutilsArgError)ÚFancyGetopt)ÚDictÚList))zexec-prefix=NÚ )zhome=Nr   )zinstall-base=Nr   )zinstall-data=Nr   )zinstall-headers=Nr   )zinstall-lib=Nr   )zinstall-platlib=Nr   )zinstall-purelib=Nr   )zinstall-scripts=Nr   )zprefix=Nr   )zroot=Nr   )ÚuserNr   ÚargsÚreturnc              	   C   sH   i }| D ]}zt j|gd�\}}W n	 ty   Y qw | |j¡ q|S )z~Parse provided arguments, returning an object that has the
    matched arguments.

    Any unknown arguments are ignored.
    )r   )Ú_distutils_getoptÚgetoptr   ÚupdateÚ__dict__)r   ÚresultÚargÚ_Úmatch© r   ú•/root/aizidognhua/tmp/workspace/projects/ec89d86c-575f-41c9-af57-ac45cbdbf775/venv/lib/python3.10/site-packages/pip/_internal/utils/distutils_args.pyÚparse_distutils_args   s   ür   N)Údistutils.errorsr   Údistutils.fancy_getoptr   Útypingr   r   Ú_optionsr
   Ústrr   r   r   r   r   Ú<module>   s    "