clears unneeded packages from requirements.txt.