Hello, Firstable, thank you for working about Matplotlib and PyInstaller.
I would be very glad to use these tools together but it unfortunately still does not work for me, even with your example (named test.py for me) : Here is what I execute: >set PIP=c:\Python25\pyInstaller-1.3\ >python %PIP%Makespec.py --onefile test.py >python %PIP%Build.py test.spec Makespec.py run, I only have some warnings in the warntest.txt about the numpy library. And when I launch the executable I have the following error : "MSVCR71.dll not found!", with runtime error : "Could not find the matplotlib data files" I spent a lot a time and now I am stuck... I hope I missed something to do. Can you give the detailed steps to follow in order to make it run properly ? Thank you. On 23 fév, 15:56, Giovanni Bajo <[email protected]> wrote: > Hello, > > I've just committed full support forMatplotlibin PyInstaller trunk. > This means that: > > * hidden imports are complete as far as I can tell (it needed some love > for both numerix and the backends). > > * The mpl-data directory (commonly installed under /usr/share on Linux) > is now automatically collected/bundled by PyInstaller, and correctly > configured at startup through a runtime hook. > > IOW, this trivial mpl example: > > ========================================= > #!/usr/bin/env python > importmatplotlib.pyplot as plt > plt.plot([1,2,3]) > plt.ylabel('some numbers') > plt.show() > ========================================= > > works *automatically* with PyInstaller, by simply doing: > > $ ~/pyinstaller/Makespec.py --onefile mpl.py # or --onedir > $ ~/pyinstaller/Build.py mpl.spec > > I would appreciate if people usingmatplotlibfor their projects could > confirm that this works as expected also in real applications. > > Thanks! > -- > Giovanni Bajo > Develer S.r.l.http://www.develer.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
