mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Make PyMuPDF a main Dangerzone dependency
The PyMuPDF package was previously mainly used within the Dangerzone container, as well as on Qubes. With on-host conversion, PyMuPDF will be used in all supported platforms by default. For this reason, we can promote it to a main dependency.
This commit is contained in:
parent
28b7249a6a
commit
57475b369f
3 changed files with 3 additions and 8 deletions
5
BUILD.md
5
BUILD.md
|
@ -290,10 +290,7 @@ test it.
|
||||||
cd dangerzone
|
cd dangerzone
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Follow the Fedora instructions for setting up the development environment with the particularity of running the following instead of `poetry install`:
|
2. Follow the Fedora instructions for setting up the development environment.
|
||||||
```
|
|
||||||
poetry install --with qubes
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Build a dangerzone `.rpm` for qubes with the command
|
3. Build a dangerzone `.rpm` for qubes with the command
|
||||||
|
|
||||||
|
|
2
poetry.lock
generated
2
poetry.lock
generated
|
@ -1046,4 +1046,4 @@ type = ["pytest-mypy"]
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = ">=3.9,<3.13"
|
python-versions = ">=3.9,<3.13"
|
||||||
content-hash = "9f1c256ac7a768845d519e58206bb3021be7fca94a55c29534cb7a157609e4e8"
|
content-hash = "9b4083a41b94d03d7688fb6fcc82a0af9839f4dfc769204548c44bf35bcda60b"
|
||||||
|
|
|
@ -17,6 +17,7 @@ python = ">=3.9,<3.13"
|
||||||
click = "*"
|
click = "*"
|
||||||
appdirs = "*"
|
appdirs = "*"
|
||||||
PySide6 = "^6.7.1"
|
PySide6 = "^6.7.1"
|
||||||
|
PyMuPDF = "^1.23.3" # The version in Fedora 39
|
||||||
colorama = "*"
|
colorama = "*"
|
||||||
pyxdg = {version = "*", platform = "linux"}
|
pyxdg = {version = "*", platform = "linux"}
|
||||||
requests = "*"
|
requests = "*"
|
||||||
|
@ -51,9 +52,6 @@ pytest-qt = "^4.2.0"
|
||||||
pytest-cov = "^5.0.0"
|
pytest-cov = "^5.0.0"
|
||||||
strip-ansi = "*"
|
strip-ansi = "*"
|
||||||
|
|
||||||
[tool.poetry.group.qubes.dependencies]
|
|
||||||
pymupdf = "^1.23.6"
|
|
||||||
|
|
||||||
[tool.poetry.group.container.dependencies]
|
[tool.poetry.group.container.dependencies]
|
||||||
pymupdf = "^1.24.10"
|
pymupdf = "^1.24.10"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue