Skip to content

Commit

Permalink
hook_matplotlib: do not exclude wx (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertosottile committed Feb 12, 2023
1 parent 3dff774 commit 484549b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions py2exe/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,6 @@ def hook_matplotlib(finder, module):
mpl_data_path = matplotlib.get_data_path()
finder.add_datadirectory("mpl-data", mpl_data_path, recursive=True)

finder.excludes.append("wx")
# XXX matplotlib requires tkinter which modulefinder does not
# detect because of the six bug.

# matplotlib requires a patch in its __init__ to correctly locate the `mpi-data` folder from where we put it
# see issue #71 fof further details
tree = ast.parse(module.__source__)
Expand Down

0 comments on commit 484549b

Please sign in to comment.