pip_util#
Functions related to core conda functionality that relates to pip
NOTE: This modules used to in conda, as conda/pip.py
Functions#
|
Derive the working directory for pip install when resolving relative paths |
|
Run pip in a subprocess |
|
Return the list of pip packages installed based on the command output |
- get_pip_workdir(file_path: str | None) str | None#
Derive the working directory for pip install when resolving relative paths in requirements (e.g. -e ./local_pkg).
Returns None for URLs or when no usable path is provided.
- pip_subprocess(args, prefix, cwd)#
Run pip in a subprocess
- get_pip_installed_packages(stdout)#
Return the list of pip packages installed based on the command output