Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Commit

Permalink
🐎 Improves user packages install speed by leveraging the Home Assista…
Browse files Browse the repository at this point in the history
…nt Wheels server
  • Loading branch information
frenck committed Aug 10, 2019
1 parent 110f6b9 commit 7bb7783
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions appdaemon/rootfs/etc/cont-init.d/appdaemon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ fi
# Install user configured/requested Python packages
if bashio::config.has_value 'python_packages'; then
for package in $(bashio::config 'python_packages'); do
pip3 install "$package" \
|| bashio::exit.nok "Failed installing package ${package}"
pip3 install \
--prefer-binary \
--find-links "https://wheels.hass.io/alpine-3.10/${BUILD_ARCH}/" \
"$package" \
|| bashio::exit.nok "Failed installing package ${package}"
done
fi

0 comments on commit 7bb7783

Please sign in to comment.