- Generate a true list of deps from top-level deps using pip-compile.
- Rebuild virtual envs automatically based on the actual requirements file(s) (possibly using pip-sync).
-
Backup all dependencies in binary form:
pip install –download DIR -r requirements.txt
To install them again:
pip install –no-index –find-links=[file://]DIR -r requirements.txt
-
Run the backup process automatically, via a git hook.