Repository URL to install this package:
|
Version:
1.0.11 ▾
|
wlanpi-profiler
/
opt
/
wlanpi-profiler
/
lib
/
python3.7
/
site-packages
/
distlib
/
__pycache__
/
index.cpython-37.pyc
|
|---|
B
ÚúÙسiã @ 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 ddlmZmZ e e¡ZdZdZG d d
d
eZdS )é N)ÚThreadé )ÚDistlibException)ÚHTTPBasicAuthHandlerÚRequestÚHTTPPasswordMgrÚurlparseÚbuild_openerÚstring_types)Úzip_dirÚServerProxyzhttps://pypi.org/pypiÚpypic @ s¶ e Zd ZdZdZd*ddZdd Zdd Zd
d Zdd
Z dd Z
dd Zd+ddZd,ddZ
d-ddZd.ddZdd Zd/ddZd0d 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 | _| ¡ t| j\}}}}}}|s<|s<|s<|dkrJtd| j d| _d| _d| _d| _t t
jdR}xJdD ]B} y(tj
| dg||d}
|
dkr | | _P W qv tk
r¶ Y qvX qvW 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)ÚgpgZgpg2z --version)ÚstdoutÚstderrr )Ú
DEFAULT_INDEXÚurlÚread_configurationr r Úpassword_handlerÚssl_verifierr Úgpg_homeÚopenÚosÚdevnullÚ
subprocessÚ
check_callÚOSError)Úselfr ÚschemeÚnetlocÚpathÚparamsÚqueryÚfragZsinkÚsÚrc© r* ú/build/wlanpi-profiler-7IIg1Q/wlanpi-profiler-1.0.11/debian/wlanpi-profiler/opt/wlanpi-profiler/lib/python3.7/site-packages/distlib/index.pyÚ__init__$ s&