quixote.build.pip package
Module contents
- quixote.build.pip.install(*args: str, from_file: Optional[str] = None, target_directory: Optional[str] = None, only_download_to: Optional[str] = None, upgrade: bool = False, reinstall_on_upgrade: bool = False, root_dir: Optional[str] = None) str [source]
Install some packages using the pip command
- Parameters
args – the packages to install
from_file – a file listing the packages to remove (see pip -r)
target_directory – the directory in which the packages should be installed (see pip -t)
only_download_to – the directory to which packages should be downloaded (see pip –download)
upgrade – whether the packages should be upgraded (see pip -U)
reinstall_on_upgrade – whether the packages should be reinstalled when upgraded (see pip –force-reinstall)
root_dir – the alternate root directory in which the packages should be installed (see pip –root)