Skip to content

Commit

Permalink
Do not install the lz4 and lzo extras of dissect.util by default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pyrco committed Sep 16, 2024
1 parent a1aeaa7 commit e5f4077
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -60,6 +60,16 @@ homepage = "https://dissect.tools"
documentation = "https://docs.dissect.tools"
repository = "https://github.com/fox-it/dissect"

[project.optional-dependencies]
lzo = [
# There are no Windows PyPy wheels available for python-lzo
# So we use a pure python fallback for it.
"python-lzo; platform_system != 'Windows' or platform_python_implementation != 'PyPy'",
]
lz4 = [
"lz4",
]

[tool.black]
line-length = 120

Expand Down

0 comments on commit e5f4077

Please sign in to comment.