Skip to content

Commit f9d3827

Browse files
authored
Remove lzo and lz4 dependency groups (#34)
1 parent bf660b6 commit f9d3827

File tree

2 files changed

+4
-19
lines changed

2 files changed

+4
-19
lines changed

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,10 @@ Information on the supported Python versions can be found in the Getting Started
1717
pip install dissect.squashfs
1818
```
1919

20-
This project decompresses lzo and lz4 compressed file systems and can use the faster, native (C-based) lz4 and lzo
21-
implementations when installed, instead of the slower pure Python implementation provided by `dissect.util`. To use
22-
these faster implementations, install the package with the lzo and lz4 extras:
23-
24-
```bash
25-
pip install "dissect.squashfs[lz4,lzo]"
26-
```
27-
28-
Unfortunately there is no binary `python-lzo` wheel for PyPy installations on Windows, so it won't be installed there
29-
30-
This module including the lz4 and lzo extras is also automatically installed if you install the `dissect` package.
20+
This project decompresses LZO and LZ4 compressed file systems and can use a faster, native (Rust-based) LZO or LZ4 implementation,
21+
instead of a slower pure Python implementation. Both implementations are provided by `dissect.util`.
22+
Pre-build wheels are available for most common platforms and the native implementation will automatically be used if available.
23+
In the rare case that a pre-build wheel is not available, please refer to `dissect.util` for build instructions.
3124

3225
## Build and test instructions
3326

pyproject.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ repository = "https://github.com/fox-it/dissect.squashfs"
3939
full = [
4040
"zstandard",
4141
]
42-
lzo = [
43-
# There are no Windows PyPy wheels available for python-lzo
44-
# So we use a pure python fallback for it.
45-
"python-lzo; platform_system != 'Windows' or platform_python_implementation != 'PyPy'",
46-
]
47-
lz4 = [
48-
"lz4",
49-
]
5042
dev = [
5143
"dissect.squashfs[full]",
5244
"dissect.cstruct>=4.0.dev,<5.0.dev",

0 commit comments

Comments
 (0)