0
0
mirror of https://github.com/python-LimeReport/containers.git synced 2024-12-23 16:23:00 +03:00
containers/scripts/install_pipx.sh

20 lines
361 B
Bash
Raw Permalink Normal View History

2023-08-19 11:43:38 +03:00
#!/usr/bin/env bash
python3 -m pip install pipx
python3 -m pipx ensurepath
source "$HOME/.bashrc"
#
# cat <<EOF > /usr/local/bin/pipx
# #!/bin/bash
#
# set -euo pipefail
#
# if [ \$(id -u) -eq 0 ]; then
# export PIPX_HOME=/opt/_internal/pipx
# export PIPX_BIN_DIR=/usr/local/bin
# fi
# ${TOOLS_PATH}/bin/pipx "\$@"
# EOF
# chmod 755 /usr/local/bin/pipx