/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/utils
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)
.
Edit
..
Edit
__init__.py
Edit
__pycache__
Edit
_log.py
Edit
appdirs.py
Edit
compat.py
Edit
compatibility_tags.py
Edit
datetime.py
Edit
deprecation.py
Edit
direct_url_helpers.py
Edit
distutils_args.py
Edit
egg_link.py
Edit
encoding.py
Edit
entrypoints.py
Edit
filesystem.py
Edit
filetypes.py
Edit
glibc.py
Edit
hashes.py
Edit
inject_securetransport.py
Edit
logging.py
Edit
misc.py
Edit
models.py
Edit
packaging.py
Edit
parallel.py
Edit
pkg_resources.py
Edit
setuptools_build.py
Edit
subprocess.py
Edit
temp_dir.py
Edit
unpacking.py
Edit
urls.py
Edit
virtualenv.py
Edit
wheel.py
Edit