ok

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/urls.pyc

�
x�_c@s�ddlZddlZddlmZddlmZddlmZermddl	m
Z
mZmZnd�Z
d�Zd�ZdS(	i����N(tparse(trequest(tMYPY_CHECK_RUNNING(tOptionaltTexttUnioncCs*d|krdS|jdd�dj�S(Nt:ii(tNonetsplittlower(turl((sI/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/urls.pytget_url_scheme
scCs=tjjtjj|��}tjdtj|��}|S(sh
    Convert a path to a file: URL.  The path will be made absolute and have
    quoted path parts.
    sfile:(tostpathtnormpathtabspathturllib_parseturljointurllib_requesttpathname2url(R
R
((sI/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/urls.pytpath_to_urlscCs�|jd�s'tdjt����tj|�\}}}}}|sX|dkrad}n4tjdkr}d|}ntdjt����t	j
||�}|S(s(
    Convert a file: URL to a path.
    sfile:s9You can only turn file: urls into filenames (not {url!r})t	localhostttwin32s\\s?non-local file URIs are not supported on this platform: {url!r}(t
startswithtAssertionErrortformattlocalsRturlsplittsystplatformt
ValueErrorRturl2pathname(R
t_tnetlocR
((sI/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/urls.pyturl_to_paths	
(RRtpip._vendor.six.moves.urllibRRRRtpip._internal.utils.typingRttypingRRRRRR#(((sI/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/utils/urls.pyt<module>s		

Zerion Mini Shell 1.0