From 5e23a9728e8b4a55c4d066d0362df21f2e35a026 Mon Sep 17 00:00:00 2001 From: pyrco <105293448+pyrco@users.noreply.github.com> Date: Mon, 16 Sep 2024 15:43:06 +0200 Subject: [PATCH] Do not install the lz4 and lzo extras of dissect.util by default (#68) They are now provided as separate extra's. Run: pip install dissect[lz4,lzo] to install dissect with the C versions of the lz4 and lzo compression libraries. --- pyproject.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4347ba5..bd52fa4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ dependencies = [ "dissect.squashfs==1.7", "dissect.target[full]==3.19", "dissect.thumbcache==1.9", - "dissect.util[lz4,lzo]==3.18", + "dissect.util==3.18", "dissect.vmfs==3.9", "dissect.volume==3.12", "dissect.xfs==3.10", @@ -60,6 +60,14 @@ homepage = "https://dissect.tools" documentation = "https://docs.dissect.tools" repository = "https://github.com/fox-it/dissect" +[project.optional-dependencies] +lz4 = [ + "dissect.util[lz4]", +] +lzo = [ + "dissect.util[lzo]", +] + [tool.black] line-length = 120