Script to run pip-tools similar to pipenv's environment and syncing automation. This uses virtualenv as the env tool.
If you are still using Pipenv and you want to migrate, follow this guide by Nick Timkovich (@nicktimko):
- Clone repo
cd pipenv-ify_pip-toolsmv pipenv-ify_pip-tools.sh /usr/local/bin- This makes the file available in $PATHsudo chmod +x /usr/local/bin/pipenv-ify_pip-tools.sh
The intended is to set an override to cd so that it runs when
going into a project folder with a requirements.in file:
~/.zshrc or ~/.bashrc
function cd {
builtin cd "$@"
source pipenv-ify_pip-tools.sh
ls
}