安装软件包时 pipenv 显示的数字是多少?
What's the number pipenv shows when installing packages?
当我使用 pipenv 安装软件包时,它显示:
Installing dependencies from Pipfile.lock (354967)…
================================ 58/58 - 00:00:07
那个数字是多少? 354967?它来自哪里?
从 the source 看来,这是锁定文件的 sha256 散列的最后 6 个字符。
fix_utf8("Installing dependencies from Pipfile.lock ({0})…".format(
lockfile["_meta"].get("hash", {}).get("sha256")[-6:]
)),
当我使用 pipenv 安装软件包时,它显示:
Installing dependencies from Pipfile.lock (354967)…
================================ 58/58 - 00:00:07
那个数字是多少? 354967?它来自哪里?
从 the source 看来,这是锁定文件的 sha256 散列的最后 6 个字符。
fix_utf8("Installing dependencies from Pipfile.lock ({0})…".format(
lockfile["_meta"].get("hash", {}).get("sha256")[-6:]
)),