core/script/bootstrap

12 lines
592 B
Plaintext
Raw Normal View History

2015-09-17 07:38:52 +00:00
#!/bin/sh
# Resolve all dependencies that the application requires to run.
2015-09-17 07:38:52 +00:00
# Stop on errors
set -e
2015-09-17 07:38:52 +00:00
cd "$(dirname "$0")/.."
echo "Installing development dependencies..."
2020-06-25 18:34:47 +00:00
python3 -m pip install wheel --constraint homeassistant/package_constraints.txt
python3 -m pip install tox tox-pip-version colorlog pre-commit $(grep mypy requirements_test.txt) $(grep stdlib-list requirements_test.txt) $(grep tqdm requirements_test.txt) $(grep pipdeptree requirements_test.txt) $(grep awesomeversion requirements.txt) --constraint homeassistant/package_constraints.txt --use-deprecated=legacy-resolver