dangerzone/dangerzone
deeplow e8b28d6f87
Explicitly import html.parser for Cx_Freeze to build
The markdown dependency uses importlib to monkeypatch 'html.parser'
[1]. Due to this approach 'html.parser' is never explicitly stated
as a dependency. This works fine in most cases, since it's part of
the python standard lib. But on Windows the build tool (CxFreeze)
ships in the .exe only the modules needed. And because html.parser
is never mentioned, it fails with an error (see issue #501).

Fixes #501

[1]: https://github.com/Python-Markdown/markdown/blob/master/markdown/htmlparser.py#L29
2023-08-05 17:09:42 +01:00
..
conversion Disable HWP / HWPX conversion on MacOS M1 / Qubes 2023-08-05 16:50:49 +01:00
gui Explicitly import html.parser for Cx_Freeze to build 2023-08-05 17:09:42 +01:00
isolation_provider qubes: Mark Dangerzone messages as trusted 2023-08-01 14:43:49 +03:00
__init__.py Remove separate dangerzone-container entry point, make CLI work with it, and refactor container code to be more DRY 2021-08-04 16:21:00 -07:00
args.py Update typing hints for Mypy 1.1.1 2023-03-27 15:19:43 +03:00
cli.py Use containers in Qubes until Beta 2023-07-26 14:02:06 +01:00
document.py Sanitize filenames before logging them 2023-08-01 14:43:48 +03:00
errors.py Prevent adding duplicate documents 2022-11-30 12:49:18 +00:00
logic.py Add logic to handle documents removal 2023-07-25 15:00:12 +01:00
settings.py Get default settings without Settings instance 2023-07-24 14:22:26 +03:00
util.py Add utility for sanitizing strings 2023-08-01 14:43:48 +03:00