Your IP : 3.137.181.194


Current Path : /lib/python2.7/site-packages/setuptools/
Upload File :
Current File : //lib/python2.7/site-packages/setuptools/unicode_utils.pyc

�
�fc@sGddlZddlZddlmZd�Zd�Zd�ZdS(i����N(tsixcCsnt|tj�r"tjd|�Sy4|jd�}tjd|�}|jd�}Wntk
rinX|S(NtNFDsutf-8(t
isinstanceRt	text_typetunicodedatat	normalizetdecodetencodetUnicodeError(tpath((s</usr/lib/python2.7/site-packages/setuptools/unicode_utils.pyt	decomposes
cCsqt|tj�r|Stj�p%d}|df}x6|D].}y|j|�SWq;tk
rhq;q;Xq;WdS(sY
    Ensure that the given path is decoded,
    NONE when no expected encoding works
    sutf-8N(RRRtsystgetfilesystemencodingRtUnicodeDecodeError(R	tfs_enct
candidatestenc((s</usr/lib/python2.7/site-packages/setuptools/unicode_utils.pytfilesys_decodes

cCs*y|j|�SWntk
r%dSXdS(s/turn unicode encoding into a functional routineN(RtUnicodeEncodeErrortNone(tstringR((s</usr/lib/python2.7/site-packages/setuptools/unicode_utils.pyt
try_encode's
(RRtsetuptools.externRR
RR(((s</usr/lib/python2.7/site-packages/setuptools/unicode_utils.pyt<module>s
		

?>