dangerzone/dangerzone/gui
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
..
__init__.py tests: Test our own custom QApplication 2023-07-28 12:18:58 +03:00
logic.py Sanitize filenames before logging them 2023-08-01 14:43:48 +03:00
main_window.py Disable HWP / HWPX conversion on MacOS M1 / Qubes 2023-08-05 16:50:49 +01:00
updater.py Explicitly import html.parser for Cx_Freeze to build 2023-08-05 17:09:42 +01:00