From 19b1ec1496efb20307fa39a9bbc242b591d6249b Mon Sep 17 00:00:00 2001 From: skybldev Date: Sun, 28 Nov 2021 12:00:07 -0500 Subject: [PATCH] server/deps: add exif as dependency --- server/Dockerfile | 1 + server/pyproject.toml | 2 +- server/requirements.txt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/server/Dockerfile b/server/Dockerfile index 205c8e4c..b40cf00f 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -31,6 +31,7 @@ RUN apk --no-cache add \ youtube_dl \ pillow-avif-plugin \ pyheif-pillow-opener \ + exif \ && apk --no-cache del py3-pip COPY ./ /opt/app/ diff --git a/server/pyproject.toml b/server/pyproject.toml index ccf47fc4..63853832 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -3,7 +3,7 @@ line-length = 79 [tool.isort] known_first_party = ["szurubooru"] -known_third_party = ["PIL", "alembic", "coloredlogs", "freezegun", "nacl", "numpy", "pyrfc3339", "pytest", "pytz", "sqlalchemy", "yaml", "youtube_dl"] +known_third_party = ["PIL", "alembic", "coloredlogs", "freezegun", "nacl", "numpy", "pyrfc3339", "pytest", "pytz", "sqlalchemy", "yaml", "youtube_dl", "exif"] multi_line_output = 3 include_trailing_comma = true force_grid_wrap = 0 diff --git a/server/requirements.txt b/server/requirements.txt index 2a09b24b..eab6f5dd 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -11,4 +11,5 @@ pytz>=2018.3 pyRFC3339>=1.0 pillow-avif-plugin>=1.1.0 pyheif-pillow-opener>=0.1.0 +exif>=1.3.3 youtube_dl