Browse Source
contrib/freeze_packages.sh: trivial clean-up
patch-4
SomberNight
4 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
6 additions and
6 deletions
-
contrib/freeze_packages.sh
|
|
@ -26,9 +26,9 @@ for i in '' '-hw' '-binaries' '-binaries-mac' '-build-wine' '-build-mac' '-build |
|
|
|
|
|
|
|
source $venv_dir/bin/activate |
|
|
|
|
|
|
|
echo "Installing $m dependencies" |
|
|
|
echo "Installing dependencies... (requirements${i}.txt)" |
|
|
|
|
|
|
|
python -m pip install -r $contrib/requirements/requirements${i}.txt --upgrade |
|
|
|
python -m pip install -r "$contrib/requirements/requirements${i}.txt" --upgrade |
|
|
|
|
|
|
|
echo "OK." |
|
|
|
|
|
|
@ -36,13 +36,13 @@ for i in '' '-hw' '-binaries' '-binaries-mac' '-build-wine' '-build-mac' '-build |
|
|
|
restricted=$(echo $requirements | ${SYSTEM_PYTHON} $contrib/deterministic-build/find_restricted_dependencies.py) |
|
|
|
requirements="$requirements $restricted" |
|
|
|
|
|
|
|
echo "Generating package hashes..." |
|
|
|
rm $contrib/deterministic-build/requirements${i}.txt |
|
|
|
touch $contrib/deterministic-build/requirements${i}.txt |
|
|
|
echo "Generating package hashes... (requirements${i}.txt)" |
|
|
|
rm "$contrib/deterministic-build/requirements${i}.txt" |
|
|
|
touch "$contrib/deterministic-build/requirements${i}.txt" |
|
|
|
|
|
|
|
for requirement in $requirements; do |
|
|
|
echo -e "\r Hashing $requirement..." |
|
|
|
${SYSTEM_PYTHON} -m hashin -r $contrib/deterministic-build/requirements${i}.txt ${requirement} |
|
|
|
${SYSTEM_PYTHON} -m hashin -r "$contrib/deterministic-build/requirements${i}.txt" "${requirement}" |
|
|
|
done |
|
|
|
|
|
|
|
echo "OK." |
|
|
|