mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-10 15:46:17 -04:00
This commit adds support for using pixi as a package manager alongside Homebrew and MacPorts on macOS. When pixi is detected and Homebrew/MacPorts are not available (or skipped), python-build will automatically use dependencies from pixi's `python-deps` environment. Key changes: - Add `can_use_pixi()` and `pixi_env_prefix()` helper functions to detect and configure pixi environments - Add `use_pixi_*()` functions for yaml, readline, ncurses, openssl, zlib, and tcl-tk to link against pixi-provided dependencies - Support `PYTHON_BUILD_SKIP_PIXI` environment variable to disable pixi - Support `PYTHON_BUILD_PIXI_ENV` to specify a custom pixi environment name (defaults to "python-deps") The pixi integration follows the same pattern as Homebrew and MacPorts, checking for package availability via `pixi global list` and using the environment directory from `pixi info`. |
||
|---|---|---|
| .. | ||
| pyenv-install | ||
| pyenv-uninstall | ||
| python-build | ||