관리-도구
편집 파일: index.cpython-38.pyc
U &?�f � @ s2 d dl ZG dd� d�Zeddd�Zeddd�ZdS ) � Nc sH e Zd ZdZdddddgZeedd�� fd d �Zeed�dd �Z� ZS )�PackageIndexzBRepresents a Package Index and provides easier access to endpoints�url�netloc� simple_url�pypi_url�file_storage_domainN)r r �returnc sB t � �� || _tj�|�j| _| �d�| _| �d�| _ || _ d S )N�simple�pypi)�super�__init__r �urllib�parse�urlsplitr � _url_for_pathr r r )�selfr r �� __class__� �H/opt/hc_python/lib/python3.8/site-packages/pip/_internal/models/index.pyr s zPackageIndex.__init__)�pathr c C s t j�| j|�S )N)r r �urljoinr )r r r r r r s zPackageIndex._url_for_path) �__name__� __module__�__qualname__�__doc__� __slots__�strr r � __classcell__r r r r r s r zhttps://pypi.org/zfiles.pythonhosted.org)r zhttps://test.pypi.org/ztest-files.pythonhosted.org)�urllib.parser r �PyPI�TestPyPIr r r r �<module> s �