/Pipenvify-Pip-Tools

Script to run pip-tools similar to pipenv's environment and syncing automation

Primary LanguageShell

pipenv-ify_pip-tools

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):


Usage

  1. Clone repo
  2. cd pipenv-ify_pip-tools
  3. mv pipenv-ify_pip-tools.sh /usr/local/bin - This makes the file available in $PATH
  4. sudo 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
}