golden hour
/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
0 B
Del
OK
__init__.pyc
164 B
Del
OK
__init__.pyo
164 B
Del
OK
__pycache__
-
Del
OK
appdirs.py
1.32 KB
Del
OK
appdirs.pyc
1.78 KB
Del
OK
appdirs.pyo
1.78 KB
Del
OK
compat.py
9.27 KB
Del
OK
compat.pyc
8.62 KB
Del
OK
compat.pyo
8.62 KB
Del
OK
compatibility_tags.py
5.31 KB
Del
OK
compatibility_tags.pyc
4.45 KB
Del
OK
compatibility_tags.pyo
4.45 KB
Del
OK
datetime.py
295 B
Del
OK
datetime.pyc
625 B
Del
OK
datetime.pyo
625 B
Del
OK
deprecation.py
3.24 KB
Del
OK
deprecation.pyc
3.44 KB
Del
OK
deprecation.pyo
3.44 KB
Del
OK
direct_url_helpers.py
4.26 KB
Del
OK
direct_url_helpers.pyc
3.37 KB
Del
OK
direct_url_helpers.pyo
3.24 KB
Del
OK
distutils_args.py
1.32 KB
Del
OK
distutils_args.pyc
1.6 KB
Del
OK
distutils_args.pyo
1.6 KB
Del
OK
encoding.py
1.25 KB
Del
OK
encoding.pyc
1.61 KB
Del
OK
encoding.pyo
1.56 KB
Del
OK
entrypoints.py
1.19 KB
Del
OK
entrypoints.pyc
1.47 KB
Del
OK
entrypoints.pyo
1.47 KB
Del
OK
filesystem.py
6.78 KB
Del
OK
filesystem.pyc
7.4 KB
Del
OK
filesystem.pyo
7.35 KB
Del
OK
filetypes.py
571 B
Del
OK
filetypes.pyc
792 B
Del
OK
filetypes.pyo
792 B
Del
OK
glibc.py
3.22 KB
Del
OK
glibc.pyc
2.19 KB
Del
OK
glibc.pyo
2.19 KB
Del
OK
hashes.py
4.57 KB
Del
OK
hashes.pyc
5.68 KB
Del
OK
hashes.pyo
5.68 KB
Del
OK
inject_securetransport.py
810 B
Del
OK
inject_securetransport.pyc
1.07 KB
Del
OK
inject_securetransport.pyo
1.07 KB
Del
OK
logging.py
12.79 KB
Del
OK
logging.pyc
11.6 KB
Del
OK
logging.pyo
11.6 KB
Del
OK
misc.py
27.67 KB
Del
OK
misc.pyc
32.2 KB
Del
OK
misc.pyo
32.2 KB
Del
OK
models.py
1.17 KB
Del
OK
models.pyc
2.55 KB
Del
OK
models.pyo
2.55 KB
Del
OK
packaging.py
2.96 KB
Del
OK
packaging.pyc
3.27 KB
Del
OK
packaging.pyo
3.27 KB
Del
OK
parallel.py
3.32 KB
Del
OK
parallel.pyc
3.62 KB
Del
OK
parallel.pyo
3.62 KB
Del
OK
pkg_resources.py
1.22 KB
Del
OK
pkg_resources.pyc
2.39 KB
Del
OK
pkg_resources.pyo
2.39 KB
Del
OK
setuptools_build.py
4.94 KB
Del
OK
setuptools_build.pyc
3.83 KB
Del
OK
setuptools_build.pyo
3.75 KB
Del
OK
subprocess.py
9.69 KB
Del
OK
subprocess.pyc
6.77 KB
Del
OK
subprocess.pyo
6.69 KB
Del
OK
temp_dir.py
8.18 KB
Del
OK
temp_dir.pyc
8.75 KB
Del
OK
temp_dir.pyo
8.62 KB
Del
OK
typing.py
1.37 KB
Del
OK
typing.pyc
1.52 KB
Del
OK
typing.pyo
1.52 KB
Del
OK
unpacking.py
9.27 KB
Del
OK
unpacking.pyc
7.83 KB
Del
OK
unpacking.pyo
7.79 KB
Del
OK
urls.py
1.49 KB
Del
OK
urls.pyc
1.94 KB
Del
OK
urls.pyo
1.8 KB
Del
OK
virtualenv.py
3.62 KB
Del
OK
virtualenv.pyc
4.11 KB
Del
OK
virtualenv.pyo
4.11 KB
Del
OK
wheel.py
7.13 KB
Del
OK
wheel.pyc
7.27 KB
Del
OK
wheel.pyo
7.27 KB
Del
OK
Edit: packaging.pyc
� r�Rec @@ s� d d l m Z d d l Z d d l m Z d d l m Z d d l m Z m Z d d l m Z d d l m Z d d l m Z e r� d d l m Z m Z d d l m Z d d l m Z n e j e � Z d � Z d � Z d � Z d � Z d S( i ( t absolute_importN( t FeedParser( t pkg_resources( t specifierst version( t NoneMetadataError( t display_path( t MYPY_CHECK_RUNNING( t Optionalt Tuple( t Message( t Distributionc C@ sJ | d k r t St j | � } t j d j t t | � � � } | | k S( s� Check if the given Python version matches a "Requires-Python" specifier. :param version_info: A 3-tuple of ints representing a Python major-minor-micro version to check (e.g. `sys.version_info[:3]`). :return: `True` if the given Python version satisfies the requirement. Otherwise, return `False`. :raises InvalidSpecifier: If `requires_python` has an invalid format. t .N( t Nonet TrueR t SpecifierSetR t parset joint mapt str( t requires_pythont version_infot requires_python_specifiert python_version( ( sN /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/packaging.pyt check_requires_python s !c C@ s� d } t | t j � r9 | j | � r9 | j | � } nF | j d � r` d } | j | � } n t j d t | j � � d } | d k r� t | | � � n t � } | j | � | j � S( s� :raises NoneMetadataError: if the distribution reports `has_metadata()` True but `get_metadata()` returns None. t METADATAs PKG-INFOs No metadata found in %st N( t isinstanceR t DistInfoDistributiont has_metadatat get_metadatat loggert warningR t locationR R R t feedt close( t distt metadata_namet metadatat feed_parser( ( sN /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/packaging.pyR , s c C@ s: t | � } | j d � } | d k r6 t | � } n | S( s_ Return the "Requires-Python" metadata for a distribution, or None if not present. s Requires-PythonN( R t getR R ( R$ t pkg_info_dictR ( ( sN /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/packaging.pyt get_requires_pythonG s c C@ sF | j d � rB x0 | j d � D] } | j � r | j � Sq Wn d S( Nt INSTALLERR ( R t get_metadata_linest strip( R$ t line( ( sN /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/packaging.pyt get_installerX s ( t __future__R t loggingt email.parserR t pip._vendorR t pip._vendor.packagingR R t pip._internal.exceptionsR t pip._internal.utils.miscR t pip._internal.utils.typingR t typingR R t email.messageR t pip._vendor.pkg_resourcesR t getLoggert __name__R R R R* R/ ( ( ( sN /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/utils/packaging.pyt <module> s
Save