From: <and...@ti...> - 2005-04-10 21:31:31
|
Hello NG, I found where the incompatibilities between Matplotlib and py2exe res= ide, at least on my configuration (Windows XP or 2000, Matplotlib 0.74 or 0.72= pre, wxPython 2.5.5.1 or previous). The following line in dates.py: UTC =3D timezone('UTC') (line 94) Breaks the executable with the error "Unknown timezone" or something simi= lar. Next, the way the Matplotlib developers are handling docstrings in pylab.= py (and others), like: figimage.__doc__ =3D Figure.figimage.__doc__ + """ Addition kwargs: hold =3D [True|False] overrides default hold state""" Breaks py2exe with an error like: "Can not concatenate NoneType with str" I just commented out these lines because I don't need docstrings in my ex= ecutable, but if someone has a better idea, I welcome all suggestions. Thank you a lot. Andrea. |