I have small application that requires matplotlib and I would like to use py2exe to convert it into .exe. with my Python (x,y) 220.127.116.11 setup. This already works for me.
There is only a single thing that I would like to improve. After using py2exe, the dist directory contains a sub-folder called mpl-data (which is required by my program).
Is it possible to move this folder and its content into library.zip? What do I have to change in the py2exe setup?
Here is what I use:
from distutils.core import setup
py2exe_options = dict(
'pyreadline', 'pdb', 'difflib', 'doctest',