3 ÝPfçã@s(ddlmZGdd„deƒZedƒZdS)é)Úparsec@seZdZdd„Zdd„ZdS)ÚIndexcCs<||_tj|ƒj|_|jdƒ|_|jdƒ|_|jdƒ|_dS)NZsimpleZpypiz pypi/pip/json)ÚurlÚ urllib_parseZurlsplitZnetlocÚ url_to_pathZ simple_urlZpypi_urlZ pip_json_url)Úselfr©rú/usr/lib/python3.6/index.pyÚ__init__s   zIndex.__init__cCstj|j|ƒS)N)rZurljoinr)rÚpathrrr r szIndex.url_to_pathN)Ú__name__Ú __module__Ú __qualname__r rrrrr rsrzhttps://pypi.python.org/N)Zpip._vendor.six.moves.urllibrrÚobjectrZPyPIrrrr Ús