/usr/lib/python3.6/site-packages/pip/utils/__pycache__
NameSizeModeActions
appdirs.cpython-36.opt-1.pyc76820644editdlrm
appdirs.cpython-36.pyc76820644editdlrm
build.cpython-36.opt-1.pyc12960644editdlrm
build.cpython-36.pyc12960644editdlrm
deprecation.cpython-36.opt-1.pyc17090644editdlrm
deprecation.cpython-36.pyc17090644editdlrm
encoding.cpython-36.opt-1.pyc9990644editdlrm
encoding.cpython-36.pyc9990644editdlrm
filesystem.cpython-36.opt-1.pyc5640644editdlrm
filesystem.cpython-36.pyc5640644editdlrm
glibc.cpython-36.opt-1.pyc13470644editdlrm
glibc.cpython-36.pyc13470644editdlrm
hashes.cpython-36.opt-1.pyc32230644editdlrm
hashes.cpython-36.pyc32230644editdlrm
logging.cpython-36.opt-1.pyc38790644editdlrm
logging.cpython-36.pyc38790644editdlrm
outdated.cpython-36.opt-1.pyc47110644editdlrm
outdated.cpython-36.pyc47110644editdlrm
packaging.cpython-36.opt-1.pyc19670644editdlrm
packaging.cpython-36.pyc19670644editdlrm
setuptools_build.cpython-36.opt-1.pyc3080644editdlrm
setuptools_build.cpython-36.pyc3080644editdlrm
ui.cpython-36.opt-1.pyc95050644editdlrm
ui.cpython-36.pyc95640644editdlrm
__init__.cpython-36.opt-1.pyc225890644editdlrm
__init__.cpython-36.pyc226340644editdlrm
Edit: /usr/lib/python3.6/site-packages/pip/utils/__pycache__/packaging.cpython-36.pyc (1967B)
3 ÝPf ã@s~ddlmZddlmZddlZddlZddlmZddlmZddl m Z ddl m Z ej eƒZdd „Zd d „Zd d „ZdS)é)Úabsolute_import)Ú FeedParserN)Ú specifiers)Úversion)Ú pkg_resources)Ú exceptionscCs>|dkr dStj|ƒ}tjdjtttjdd…ƒƒƒ}||kS)aG 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. NTÚ.é) rZ SpecifierSetrÚparseÚjoinÚmapÚstrÚsysÚ version_info)Úrequires_pythonZrequires_python_specifierZpython_version©rú/usr/lib/python3.6/packaging.pyÚcheck_requires_pythons   rcCs8t|tjƒr |jdƒr |jdƒS|jdƒr4|jdƒSdS)NZMETADATAzPKG-INFO)Ú isinstancerZDistInfoDistributionZ has_metadataÚ get_metadata)Údistrrrr%s     rcCs t|ƒ}tƒ}|j|ƒ|jƒ}|jdƒ}y8t|ƒs`tjd|j|dj t t t j dd…ƒƒfƒ‚Wn8tjk rš}ztjd|j||fƒdSd}~XnXdS)NzRequires-Pythonz4%s requires Python '%s' but the running Python is %srr z7Package %s has an invalid Requires-Python entry %s - %s)rrZfeedÚcloseÚgetrrZUnsupportedPythonVersionZ project_namer r r rrrZInvalidSpecifierÚloggerZwarning)rZmetadataZ feed_parserZ pkg_info_dictrÚerrrÚcheck_dist_requires_python-s"  $r)Z __future__rZ email.parserrZloggingrZpip._vendor.packagingrrZ pip._vendorrZpiprZ getLoggerÚ__name__rrrrrrrrÚs