U ÀÒ.e$ã@s8ddlmZGdd„deƒZeddd�Zeddd�Zd S) é)Úparsecs(eZdZdZ‡fdd„Zdd„Z‡ZS)Ú PackageIndexzGRepresents a Package Index and provides easier access to endpoints csDtt|ƒ ¡||_t |¡j|_| d¡|_| d¡|_ ||_ dS)NZsimpleZpypi) ÚsuperrÚ__init__ÚurlÚ urllib_parseZurlsplitZnetlocÚ _url_for_pathZ simple_urlZpypi_urlÚfile_storage_domain)Úselfrr ©Ú __class__©ú>/usr/lib/python3.8/site-packages/pip/_internal/models/index.pyrs   zPackageIndex.__init__cCst |j|¡S)N)rZurljoinr)r Úpathr r rrszPackageIndex._url_for_path)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrÚ __classcell__r r r rrs rzhttps://pypi.org/zfiles.pythonhosted.org)r zhttps://test.pypi.org/ztest-files.pythonhosted.orgN)Zpip._vendor.six.moves.urllibrrÚobjectrZPyPIZTestPyPIr r r rÚs ÿÿ