Install pip
packages with dotbot
. Also supports pipsi
and pipx
.
This plugin requires dotbot
to be installed.
This plugin installs specified requirements
file with the given binary
.
- Run:
git submodule add https://github.com/sobolevn/dotbot-pip.git
- Modify your
./install
with new plugin directory:
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir dotbot-pip -c "${CONFIG}" "${@}"
- Add required options to your
install.conf.yaml
:
- pip:
file: requirements.txt
binary: /usr/local/bin/pip3
user: true # Like --user
stdout: false # Print the execution stdout
stderr: true # Print the execution stderr
# Also supports pipsi and pipx, make sure they appear after `pip`!
- pipsi:
file: requirements-pipsi.txt
stdout: false # Print the execution stdout
stderr: true # Print the execution stderr
- pipx:
file: requirements-pipx.txt
stdout: false
stderr: true
That's it!
MIT. See LICENSE for more details.