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

Make tzlocal a requirement

This commit is contained in:
Otto Winter
2019-01-06 09:48:03 +01:00
parent 94cb7bf6bd
commit 9bce35e335
7 changed files with 8 additions and 15 deletions

View File

@@ -33,9 +33,6 @@ RUN \
\
&& pip2 install --no-cache-dir --no-binary :all: -e /opt/esphomeyaml \
\
# tzlocal for automatic timezone detection
&& pip2 install --no-cache-dir --no-binary :all: tzlocal \
\
# Change some platformio settings
&& platformio settings set enable_telemetry No \
&& platformio settings set check_libraries_interval 1000000 \

View File

@@ -3,4 +3,4 @@ FROM python:2.7
COPY requirements.txt /requirements.txt
RUN pip install -r /requirements.txt && \
pip install flake8==3.6.0 pylint==1.9.4 tzlocal pillow
pip install flake8==3.6.0 pylint==1.9.4 pillow

View File

@@ -18,5 +18,4 @@ RUN platformio run -d /pio; rm -rf /pio
COPY requirements.txt /requirements.txt
RUN pip install --no-cache-dir -r /requirements.txt && \
pip install --no-cache-dir tzlocal
RUN pip install --no-cache-dir -r /requirements.txt