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:
@@ -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 \
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user