abx_plugin_pip.binproviders

Module Contents

Classes

SystemPipBinProvider

SystemPipxBinProvider

VenvPipBinProvider

LibPipBinProvider

Data

DEFAULT_BINPROVIDERS

env

apt

brew

IS_INSIDE_VENV

SYS_PIP_BINPROVIDER

PIPX_PIP_BINPROVIDER

VENV_PIP_BINPROVIDER

LIB_PIP_BINPROVIDER

pip

site_packages_dir

LIB_SITE_PACKAGES

VENV_SITE_PACKAGES

USER_SITE_PACKAGES

SYS_SITE_PACKAGES

ALL_SITE_PACKAGES

API

abx_plugin_pip.binproviders.DEFAULT_BINPROVIDERS[source]

‘benedict(…)’

abx_plugin_pip.binproviders.env[source]

None

abx_plugin_pip.binproviders.apt[source]

None

abx_plugin_pip.binproviders.brew[source]

None

class abx_plugin_pip.binproviders.SystemPipBinProvider[source]

Bases: abx_pkg.PipProvider

name: abx_pkg.BinProviderName[source]

‘sys_pip’

INSTALLER_BIN: abx_pkg.BinName[source]

‘pip’

pip_venv: Optional[pathlib.Path][source]

None

on_install(bin_name: str, **kwargs)[source]
class abx_plugin_pip.binproviders.SystemPipxBinProvider[source]

Bases: abx_pkg.PipProvider

name: abx_pkg.BinProviderName[source]

‘pipx’

INSTALLER_BIN: abx_pkg.BinName[source]

‘pipx’

pip_venv: Optional[pathlib.Path][source]

None

abx_plugin_pip.binproviders.IS_INSIDE_VENV[source]

None

class abx_plugin_pip.binproviders.VenvPipBinProvider[source]

Bases: abx_pkg.PipProvider

name: abx_pkg.BinProviderName[source]

‘venv_pip’

INSTALLER_BIN: abx_pkg.BinName[source]

‘pip’

pip_venv: Optional[pathlib.Path][source]

‘Path(…)’

setup()[source]

never attempt to create a venv here, this is just used to detect if we are inside an existing one

class abx_plugin_pip.binproviders.LibPipBinProvider[source]

Bases: abx_pkg.PipProvider

name: abx_pkg.BinProviderName[source]

‘lib_pip’

INSTALLER_BIN: abx_pkg.BinName[source]

‘pip’

pip_venv: Optional[pathlib.Path][source]

‘Path(…)’

setup() None[source]
abx_plugin_pip.binproviders.SYS_PIP_BINPROVIDER[source]

‘SystemPipBinProvider(…)’

abx_plugin_pip.binproviders.PIPX_PIP_BINPROVIDER[source]

‘SystemPipxBinProvider(…)’

abx_plugin_pip.binproviders.VENV_PIP_BINPROVIDER[source]

‘VenvPipBinProvider(…)’

abx_plugin_pip.binproviders.LIB_PIP_BINPROVIDER[source]

‘LibPipBinProvider(…)’

abx_plugin_pip.binproviders.pip[source]

None

abx_plugin_pip.binproviders.site_packages_dir[source]

None

abx_plugin_pip.binproviders.LIB_SITE_PACKAGES[source]

()

abx_plugin_pip.binproviders.VENV_SITE_PACKAGES[source]

()

abx_plugin_pip.binproviders.USER_SITE_PACKAGES[source]

‘getusersitepackages(…)’

abx_plugin_pip.binproviders.SYS_SITE_PACKAGES[source]

‘getsitepackages(…)’

abx_plugin_pip.binproviders.ALL_SITE_PACKAGES[source]

()