o
    “si[  ã                   @   sJ   d dl mZm Z  d dlmZmZ g d¢Zdee deeef fdd„ZdS )	é    )ÚGetoptErrorÚgetopt)ÚDictÚList)zexec-prefix=zhome=zinstall-base=zinstall-data=zinstall-headers=zinstall-lib=zinstall-platlib=zinstall-purelib=zinstall-scripts=zprefix=zroot=ÚuserÚargsÚreturnc              	   C   sx   i }| D ]5}zt |gdtd�\}}W n	 ty   Y qw |sq|d }|d dd…  dd¡}|d p4d	}|||< q|S )
zzParse provided arguments, returning an object that has the matched arguments.

    Any unknown arguments are ignored.
    Ú )r   Ú	shortoptsÚlongoptsr   é   Nú-Ú_é   Útrue)r   Ú_optionsr   Úreplace)r   ÚresultÚargÚ
parsed_optr   ÚoptionÚname_from_parsedÚvalue_from_parsed© r   úqC:\Users\PC\students\dividedattentionclub\venv\lib\python3.10\site-packages\pip/_internal/utils/distutils_args.pyÚparse_distutils_args   s   ü
r   N)r   r   Útypingr   r   r   Ústrr   r   r   r   r   Ú<module>   s    "