Skip to content

Instantly share code, notes, and snippets.

@ggteixeira
Last active August 6, 2020 15:16
Show Gist options
  • Save ggteixeira/1587a4f8dd80472bf03c18076c0c97ea to your computer and use it in GitHub Desktop.
Save ggteixeira/1587a4f8dd80472bf03c18076c0c97ea to your computer and use it in GitHub Desktop.
Atulizando todos os pacotes do pip de uma só vez.

Atualizando todos os pacotes do pip (Python) automaticamente.

pipi='pip install --upgrade pip && pip install -r requirements.txt && pip freeze — local | grep -v ^-e | cut -d = -f 1 | xargs -n1 pip install -U && pip freeze > requirements.txt && git add requirements.txt && git commit -m "Updates all packages" && git push'

(Fonte: Hackernoon.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment