관리-도구
편집 파일: index.cpython-38.pyc
U ��.e$ � @ s8 d dl mZ G dd� de�Zeddd�Zeddd�Zd S ) � )�parsec s( e Zd ZdZ� fdd�Zdd� Z� ZS )�PackageIndexzGRepresents a Package Index and provides easier access to endpoints c sD t t| ��� || _t�|�j| _| �d�| _| �d�| _ || _ d S )NZsimpleZpypi)�superr �__init__�url�urllib_parseZurlsplitZnetloc� _url_for_pathZ simple_urlZpypi_url�file_storage_domain)�selfr r �� __class__� �>/usr/lib/python3.8/site-packages/pip/_internal/models/index.pyr s zPackageIndex.__init__c C s t �| j|�S )N)r Zurljoinr )r �pathr r r r s zPackageIndex._url_for_path)�__name__� __module__�__qualname__�__doc__r r � __classcell__r r r r r s r zhttps://pypi.org/zfiles.pythonhosted.org)r zhttps://test.pypi.org/ztest-files.pythonhosted.orgN)Zpip._vendor.six.moves.urllibr r �objectr ZPyPIZTestPyPIr r r r �<module> s � �