Hello,
I've just committed full support for Matplotlib in 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
import matplotlib.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 using matplotlib for 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
-~----------~----~----~----~------~----~------~--~---