pip lock
Lock Python packages and their dependencies into a reproducible file. Experimental feature of
pip. More information: https://pip.pypa.io/en/stable/cli/pip_lock/.
- Generate a
pylock.tomlfor the current project:
pip lock .
- Lock dependencies from a requirements file:
pip lock
- Specify a custom output file for the lock:
pip lock
- Lock a specific package and its dependencies:
pip lock
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
