mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 21:54:20 +01:00
Bugfix custom deps prefix (#274)
* Update run.sh * Update config.json * Update CHANGELOG.md
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.2
|
||||||
|
- Bugfix pip prefix settings
|
||||||
|
|
||||||
## 0.1
|
## 0.1
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Custom deps deployment",
|
"name": "Custom deps deployment",
|
||||||
"version": "0.1",
|
"version": "0.2",
|
||||||
"slug": "custom_deps",
|
"slug": "custom_deps",
|
||||||
"description": "Manage custom python modules in Home Assistant deps",
|
"description": "Manage custom python modules in Home Assistant deps",
|
||||||
"url": "https://home-assistant.io/addons/custom_deps/",
|
"url": "https://home-assistant.io/addons/custom_deps/",
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ fi
|
|||||||
# Install pypi modules
|
# Install pypi modules
|
||||||
echo "[Info] Install pypi modules into deps"
|
echo "[Info] Install pypi modules into deps"
|
||||||
export PYTHONUSERBASE=/config/deps
|
export PYTHONUSERBASE=/config/deps
|
||||||
if ! ERROR="$(pip3 install --user --no-cache-dir --no-dependencies "${PYPI[@]}")"; then
|
if ! ERROR="$(pip3 install --user --no-cache-dir --prefix= --no-dependencies "${PYPI[@]}")"; then
|
||||||
echo "[Error] Can't install pypi packages!"
|
echo "[Error] Can't install pypi packages!"
|
||||||
echo "$ERROR" && exit 1
|
echo "$ERROR" && exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user