Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
ÝPf]R ã @ sÈ d dl Z d dlZd dlZd dlZd dlZd dlZyd dlmZ W n ek
r` d dl mZ Y nX ddl
mZ ddlm
Z
mZmZmZmZmZ ddlmZmZmZ ejeƒZdZdZG d d
„ d
eƒZdS )é N)ÚThreadé )ÚDistlibException)ÚHTTPBasicAuthHandlerÚRequestÚHTTPPasswordMgrÚurlparseÚbuild_openerÚstring_types)Úcached_propertyÚzip_dirÚServerProxyzhttps://pypi.python.org/pypiÚpypic @ s¶ e Zd ZdZdZd*dd„Zdd„ Zdd „ Zd
d„ Zdd
„ Z dd„ Z
dd„ Zd+dd„Zd,dd„Z
d-dd„Zd.dd„Zdd„ Zd/dd„Zd0d d!„Zd1d"d#„Zd$d%„ Zd&d'„ Zd2d(d)„ZdS )3ÚPackageIndexzc
This class represents a package index compatible with PyPI, the Python
Package Index.
s. ----------ThIs_Is_tHe_distlib_index_bouNdaRY_$Nc C sÐ |pt | _| jƒ t| jƒ\}}}}}}|s<|s<|s<|dkrJtd| j ƒ‚d| _d| _d| _d| _d| _ t
tjdƒ�R}xJdD ]B} y(t
j| dg||d �}
|
d
kr¦| | _P W q| tk
r¼ Y q|X q|W W dQ R X dS )
z”
Initialise an instance.
:param url: The URL of the index. If not specified, the URL for PyPI is
used.
ÚhttpÚhttpszinvalid repository: %sNÚwÚgpgÚgpg2z --version)ÚstdoutÚstderrr )r r )r r )Ú
DEFAULT_INDEXÚurlÚread_configurationr r Úpassword_handlerÚssl_verifierr Úgpg_homeÚ rpc_proxyÚopenÚosÚdevnullÚ
subprocessZ
check_callÚOSError)Úselfr ÚschemeÚnetlocÚpathZparamsZqueryZfragZsinkÚsÚrc© r) ú/usr/lib/python3.6/index.pyÚ__init__$ s(
zPackageIndex.__init__c C s&