Your IP : 216.73.216.243
�
��abc@@s�ddlmZddlmZddlZddlZddlmZddlmZddl m
Z
ddlmZej
e�Zd�Zd �Zd
�ZdS(i(tabsolute_import(t
FeedParserN(t
specifiers(tversion(t
pkg_resources(t
exceptionscC@sQ|dkrtStj|�}tjdjttt j
d ���}||kS(sG
Check if the python version in use match the `requires_python` specifier.
Returns `True` if the version of python in use matches the requirement.
Returns `False` if the version of python in use does not matches the
requirement.
Raises an InvalidSpecifier if `requires_python` have an invalid format.
t.iN(tNonetTrueRtSpecifierSetRtparsetjointmaptstrtsystversion_info(trequires_pythontrequires_python_specifiertpython_version((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pytcheck_requires_pythons
(cC@sNt|tj�r.|jd�r.|jd�S|jd�rJ|jd�SdS(NtMETADATAsPKG-INFO(t
isinstanceRtDistInfoDistributionthas_metadatatget_metadata(tdist((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pyR%s
c C@s�t|�}t�}|j|�|j�}|jd�}yKt|�s�tjd|j|dj t
ttj
d ��f��nWn4tjk
r�}tjd|j||f�dSXdS(NsRequires-Pythons4%s requires Python '%s' but the running Python is %sRis7Package %s has an invalid Requires-Python entry %s - %s(RRtfeedtclosetgetRRtUnsupportedPythonVersiontproject_nameRRR
RRRtInvalidSpecifiertloggertwarning(Rtmetadatatfeed_parsert
pkg_info_dictRte((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pytcheck_dist_requires_python-s"
-(t
__future__Rtemail.parserRtloggingRtpip._vendor.packagingRRtpip._vendorRtpipRt getLoggert__name__R RRR&(((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pyt<module>s
?>