Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2024-02-17 16:07:33
Size: 840
Comment: Initial commit
Revision 3 as of 2024-02-17 16:31:49
Size: 848
Comment: Title
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Pipx = = Python Pipx =
Line 23: Line 23:
Packages installed this way are created as [Python/Venv|virtual environments]] under `~/.local/pipx`. Packages installed this way are created as [[Python/Venv|virtual environments]] under `~/.local/pipx`.

Python Pipx

pipx(1) is a package management toolchain for Python, modeled after the Node toolchain. It wraps pip and venv.


Installation

Install pipx using pip.


Usage

For most use cases, simply replace pip with pipx in any command.

Packages installed this way are created as virtual environments under ~/.local/pipx.

If a package has correctly defined entry points, executable scripts are created as symlinks under ~/.local/bin into those virtual environments.

Configuration

To adjust the location of pipx(1)-managed files, try:

export PIPX_HOME=~/.local/pipx
export PIPX_BIN_DIR=~/.local/bin


CategoryRicottone

Python/Pipx (last edited 2024-02-17 16:41:37 by DominicRicottone)