readthedocs-docker-images
readthedocs-docker-images copied to clipboard
Include `pipx` with proper configuration
Though we already have asdf, it might be better to also have pipx so that we can install Python Applications directly from PyPI when needed.
Current workaround in .readthedocs.yaml:
- asdf plugin add pipx
- asdf install pipx latest
- asdf global pipx latest
- PIPX_BIN_DIR=$READTHEDOCS_VIRTUALENV_PATH/bin pipx install <package>
The mostly inconvenience is that we have to specify the PIPX_BIN_DIR to make it actually work. It would be great if we can have it properly configured just like asdf.