- Notifications
You must be signed in to change notification settings - Fork8
Install pip packages with dotbot
License
NotificationsYou must be signed in to change notification settings
sobolevn/dotbot-pip
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Installpip
packages withdotbot
. Also supportspipsi
andpipx
.
This plugin requiresdotbot
to be installed.
This plugin installs specifiedrequirements
file with the givenbinary
.
- 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.txtbinary:/usr/local/bin/pip3user:true# Like --userstdout:false# Print the execution stdoutstderr:true# Print the execution stderr# Also supports pipsi and pipx, make sure they appear after `pip`!-pipsi:file:requirements-pipsi.txtstdout:false# Print the execution stdoutstderr:true# Print the execution stderr-pipx:file:requirements-pipx.txtstdout:falsestderr:true
That's it!
MIT. SeeLICENSE for more details.