Hash requirements.txt on each launch and skip pip install if the hash matches the last recorded value. Cuts 10-20s from warm starts with no change to what gets installed. The hash file lives in venv/.requirements_hash (already gitignored). Deleting venv/ or changing requirements.txt triggers a full reinstall.
9.0 KiB
Executable File
9.0 KiB
Executable File