Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information