Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PipCLI ¶
type PipCLI struct { // Global // - In a “pip” subdirectory of any of the paths set in the environment variable XDG_CONFIG_DIRS (if it exists), for example /etc/xdg/pip/pip.conf. // This will be followed by loading /etc/pip.conf. // // User // - $HOME/.config/pip/pip.conf, which respects the XDG_CONFIG_HOME environment variable. // The legacy “per-user” configuration file is also loaded, if it exists: $HOME/.pip/pip.conf. // // Site // - $VIRTUAL_ENV/pip.conf // PIP_CONFIG_FILE // Additionally, the environment variable PIP_CONFIG_FILE can be used to specify a configuration file that’s loaded last, and whose values override // the values set in the aforementioned files. Setting this to os.devnull disables the loading of all configuration files. Note that if a file exists // at the location that this is set to, the user config file will not be loaded. // // Configuration - pip documentation v24.0 https://pip.pypa.io/en/stable/topics/configuration/ ConfigFilePath string Bin string EnvPath string }
func NewPipCLIWithCondaEnv ¶
func (*PipCLI) InstallWithRequirementsTxt ¶
Equivalent to `pip install -r requirements.txt`
Click to show internal directories.
Click to hide internal directories.