Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sobolevn/dotbot-pip
Install pip packages with dotbot
https://github.com/sobolevn/dotbot-pip
dotbot dotbot-plugin dotfiles pip
Last synced: 9 days ago
JSON representation
Install pip packages with dotbot
- Host: GitHub
- URL: https://github.com/sobolevn/dotbot-pip
- Owner: sobolevn
- License: mit
- Created: 2017-10-09T17:00:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-02-12T16:47:28.000Z (10 months ago)
- Last Synced: 2024-11-30T01:35:10.084Z (13 days ago)
- Topics: dotbot, dotbot-plugin, dotfiles, pip
- Language: Python
- Size: 13.7 KB
- Stars: 18
- Watchers: 4
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - sobolevn/dotbot-pip - Install pip packages with dotbot (Python)
README
# dotbot-pip
Install `pip` packages with `dotbot`. Also supports `pipsi` and `pipx`.
## Prerequirements
This plugin requires [`dotbot`](https://github.com/anishathalye/dotbot/) to be installed.
## How does it work
This plugin installs specified `requirements` file with the given `binary`.
## Installation
1. Run:
```bash
git submodule add https://github.com/sobolevn/dotbot-pip.git
```2. Modify your `./install` with new plugin directory:
```bash
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" --plugin-dir dotbot-pip -c "${CONFIG}" "${@}"
```3. Add required options to your [`install.conf.yaml`](/example.yaml):
```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!
## License
MIT. See [LICENSE](/LICENSE) for more details.