Hacker News new | ask | show | jobs
by spapas82 3215 days ago
A similar script in Windows script (.bat)

for /F %%i in ( ' cat requirements\\base.txt ^| cut -f 1 -d ^= ' ) do pip install %%i --upgrade

Careful, it needs the unix utilities cat and cut on the path - they are included in various other packages so you will probably already have them.

Also, it must be run through a .bat file and not directly from the command line.