4 ms·
Wait, wouldn't you get the same result from running -U on the contents of the requirements file (after stripping the == out)? i.e. sed 's/==.*//g' requirem
by SilasX 11y ago
Wait, wouldn't you get the same result from running -U on the contents of the requirements file (after stripping the == out)? i.e.
sed 's/==.*//g' requirements.txt \
| tr '\n' ' ' \
| (read var; pip install -U $var) \
&& pip freeze > requirements.txt
- welder 11y agoWhat about comments, packages installed via git, recursive packages?