mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 00:02:14 -04:00
Previously, the script relied on global pip for hashing packages. This
doesn't work if you don't have `pip` installed (like me) and I think using `pip` from the venv should be preferred to ensure you are using the latest `pip` (which was updated in the venv earlier in the script).
This commit is contained in:
parent
7e039d1504
commit
a7edc4b1e5
1 changed files with 1 additions and 1 deletions
|
|
@ -162,13 +162,13 @@ for module in certbot $subpkgs_modules ; do
|
|||
echo testing $module
|
||||
nosetests $module
|
||||
done
|
||||
deactivate
|
||||
|
||||
# pin pip hashes of the things we just built
|
||||
for pkg in acme certbot certbot-apache letsencrypt letsencrypt-apache ; do
|
||||
echo $pkg==$version \\
|
||||
pip hash dist."$version/$pkg"/*.{whl,gz} | grep "^--hash" | python2 -c 'from sys import stdin; input = stdin.read(); print " ", input.replace("\n--hash", " \\\n --hash"),'
|
||||
done > /tmp/hashes.$$
|
||||
deactivate
|
||||
|
||||
if ! wc -l /tmp/hashes.$$ | grep -qE "^\s*15 " ; then
|
||||
echo Unexpected pip hash output
|
||||
|
|
|
|||
Loading…
Reference in a new issue