From 7ceef6656b3d17974db24022077d4b2823ab81a1 Mon Sep 17 00:00:00 2001 From: Daniel Foerster Date: Sat, 4 Nov 2023 18:19:45 -0500 Subject: [PATCH] Add tdewolff-minify to dependencies (#37) --- pyproject.toml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c34b5d6..e6df79b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,8 +49,17 @@ pretty = ["rich>=12.5.1"] # standard set of Steps, but significantly valuable to the [web] audience for # thumbnailing and .webp conversion. pillow = ["Pillow>=9.2.0"] -minify = ["lightningcss>=0.1.1,<1.0", "minify-html-onepass>=0.11.1"] -web = ["anchovy[markdown]", "anchovy[css]", "anchovy[pillow]", "anchovy[minify]"] +minify = [ + "lightningcss>=0.1.1,<1.0", + "minify-html-onepass>=0.11.1", + "tdewolff-minify>=2.20.6; sys_platform != 'darwin'" +] +web = [ + "anchovy[markdown]", + "anchovy[css]", + "anchovy[pillow]", + "anchovy[minify]" +] include = ["requests>=2.31.0", "anchovy[toml]"] base = ["anchovy[web]", "anchovy[include]", "anchovy[pretty]"] # Currently, [all] is the same as [base]; this will change in the future if