1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

Fix pypi release (#4983)

This commit is contained in:
Jesse Hills
2023-06-21 16:36:54 +12:00
committed by GitHub
parent de6c527ca4
commit e8ce7048d8
2 changed files with 5 additions and 2 deletions

View File

@@ -5,12 +5,13 @@ set -e
cd "$(dirname "$0")/.."
if [ ! -n "$DEVCONTAINER" ] && [ ! -n "$VIRTUAL_ENV" ]; then
if [ ! -n "$DEVCONTAINER" ] && [ ! -n "$VIRTUAL_ENV" ] && [ ! "$ESPHOME_NO_VENV" ]; then
python3 -m venv venv
source venv/bin/activate
fi
pip3 install -r requirements.txt -r requirements_optional.txt -r requirements_test.txt
pip3 install setuptools wheel
pip3 install --no-use-pep517 -e .
pre-commit install