/usr/lib/python2.7/site-packages/pip/utils
NameSizeModeActions
appdirs.py88110644editdlrm
appdirs.pyc86070644editdlrm
appdirs.pyo86070644editdlrm
build.py13120644editdlrm
build.pyc17190644editdlrm
build.pyo17190644editdlrm
deprecation.py22320644editdlrm
deprecation.pyc23170644editdlrm
deprecation.pyo23170644editdlrm
encoding.py9710644editdlrm
encoding.pyc12820644editdlrm
encoding.pyo12820644editdlrm
filesystem.py8990644editdlrm
filesystem.pyc7800644editdlrm
filesystem.pyo7800644editdlrm
glibc.py29390644editdlrm
glibc.pyc18260644editdlrm
glibc.pyo18260644editdlrm
hashes.py28660644editdlrm
hashes.pyc39610644editdlrm
hashes.pyo39610644editdlrm
logging.py33270644editdlrm
logging.pyc48420644editdlrm
logging.pyo48420644editdlrm
outdated.py59890644editdlrm
outdated.pyc56800644editdlrm
outdated.pyo56800644editdlrm
packaging.py20800644editdlrm
packaging.pyc24610644editdlrm
packaging.pyo24610644editdlrm
setuptools_build.py2780644editdlrm
setuptools_build.pyc3470644editdlrm
setuptools_build.pyo3470644editdlrm
ui.py115970644editdlrm
ui.pyc116830644editdlrm
ui.pyo116130644editdlrm
__init__.py271870644editdlrm
__init__.pyc277250644editdlrm
__init__.pyo276660644editdlrm
Edit: /usr/lib/python2.7/site-packages/pip/utils/packaging.pyo (2461B)
ó •abc@@s¦ddlmZddlmZddlZddlZddlmZddlmZddl m Z ddl m Z ej 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( tNonetTrueRt SpecifierSetRtparsetjointmaptstrtsyst version_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 isinstanceRtDistInfoDistributiont has_metadatat get_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 t t j 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(RRtfeedtclosetgetRRtUnsupportedPythonVersiont project_nameR R R RRRtInvalidSpecifiertloggertwarning(Rtmetadatat feed_parsert pkg_info_dictRte((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pytcheck_dist_requires_python-s"     -(t __future__Rt email.parserRtloggingRtpip._vendor.packagingRRt pip._vendorRtpipRt getLoggert__name__R RRR&(((s7/usr/lib/python2.7/site-packages/pip/utils/packaging.pyts