We probably want to install python's toml lib automatically

This commit is contained in:
Alexandre Aubin 2023-01-20 00:06:15 +01:00
parent 8d57b15810
commit 6a0f807b35

View file

@ -212,11 +212,12 @@ function fetch_or_upgrade_package_linter()
then
log_info "Installing Package linter"
git clone --quiet $git_repository "./package_linter"
pip3 install pyparsing six imgkit
pip3 install pyparsing six imgkit toml
else
git -C "./package_linter" fetch origin --quiet
git -C "./package_linter" reset --hard origin/master --quiet
python3 -c "import imgkit" 2>/dev/null || pip3 install imgkit
python3 -c "import toml" 2>/dev/null || pip3 install toml
fi
}