/usr/lib/python3.9/site-packages/pip/_internal/utils
NameSizeModeActions
__pycache__/-0755rm
appdirs.py16650644editdlrm
compat.py18840644editdlrm
compatibility_tags.py53770644editdlrm
datetime.py2420644editdlrm
deprecation.py36270644editdlrm
direct_url_helpers.py32060644editdlrm
distutils_args.py12490644editdlrm
egg_link.py22030644editdlrm
encoding.py11690644editdlrm
entrypoints.py11300644editdlrm
filesystem.py58930644editdlrm
filetypes.py7160644editdlrm
glibc.py31100644editdlrm
hashes.py48110644editdlrm
inject_securetransport.py7950644editdlrm
logging.py115320644editdlrm
misc.py207780644editdlrm
models.py11930644editdlrm
packaging.py29520644editdlrm
parallel.py31960644editdlrm
pkg_resources.py9870644editdlrm
setuptools_build.py46970644editdlrm
subprocess.py100580644editdlrm
temp_dir.py76620644editdlrm
unpacking.py91500644editdlrm
urls.py17590644editdlrm
virtualenv.py34590644editdlrm
wheel.py61630644editdlrm
_log.py10150644editdlrm
__init__.py00644editdlrm
Edit: /usr/lib/python3.9/site-packages/pip/_internal/utils/entrypoints.py (1130B)
import sys from typing import List, Optional from pip._internal.cli.main import main def _wrapper(args: Optional[List[str]] = None, _nowarn: bool = False) -> int: """Central wrapper for all old entrypoints. Historically pip has had several entrypoints defined. Because of issues arising from PATH, sys.path, multiple Pythons, their interactions, and most of them having a pip installed, users suffer every time an entrypoint gets moved. To alleviate this pain, and provide a mechanism for warning users and directing them to an appropriate place for help, we now define all of our old entrypoints as wrappers for the current one. """ if not _nowarn: sys.stderr.write( "WARNING: pip is being invoked by an old script wrapper. This will " "fail in a future version of pip.\n" "Please see https://github.com/pypa/pip/issues/5599 for advice on " "fixing the underlying issue.\n" "To avoid this problem you can invoke Python with '-m pip' instead of " "running pip directly.\n" ) return main(args)