Hi. i'm working on a pack of extensions, and i really need to implement matplotlib python lib, in a way that the general user could reproduce afterwards, with the least technical knowledge. regardless that i think that a plotting library as rich as matplotlib should be implemented in inkscape's extension's python core, IS there any documentation on the most clean and fast way of doing it? please help
I have installed other packages from pypy by downloading the archive file, extracting to a subfolder in the extension, then adding to the sys path in python.
I then add any dependencies which popup as error in Inkscape in the same way. The whole extension can then be zipped and distributed and works.
However I do not think this approach will work for the matplotlib library, it has many dependencies etc.
Hi.
i'm working on a pack of extensions, and i really need to implement matplotlib python lib, in a way that the general user could reproduce afterwards, with the least technical knowledge.
regardless that i think that a plotting library as rich as matplotlib should be implemented in inkscape's extension's python core, IS there any documentation on the most clean and fast way of doing it?
please help
Cheers.
This is a bit complicated.
I have installed other packages from pypy by downloading the archive file, extracting to a subfolder in the extension, then adding to the sys path in python.
I then add any dependencies which popup as error in Inkscape in the same way. The whole extension can then be zipped and distributed and works.
However I do not think this approach will work for the matplotlib library, it has many dependencies etc.
I would ask in https://chat.inkscape.org/channel/inkscape_extensions