![]() |
Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
I'm after some technical plotting tools in Python and it looks like PyQwt would be suitable.
Before I do too much more to get Qwt compiling, I thought I'd ask whether anyone else has compiled this or if there are any other suggestions (I'm planning to use it in Python eventually, but have to get the C++ code compiling first)? http://qwt.sourceforge.net/ Thanks :) |
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
i looked at compiling matplotlib but gave up with the dependencies.
|
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
I've just pushed matplotlib to extras-devel, let me know how it works :)
|
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
Quote:
Code:
Traceback (most recent call last): Code:
import matplotlib.pyplot as plt |
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
Hmm, well that's not ideal. I've not got round to trying it yet actually.
I'm away for a week but will see if I can fix it (or get Qwt compiling) when I get back. Thanks for trying it anyway :) |
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
Quote:
Edit: Managed to compile a seemingly working version (the trivial example code and another randomly chosen example run as-is), note though i threw away the -data and main package separation and played funky with symlinks to manage optification. For the moment a 40MB tarball containing both the compiled package (scratchbox x86 only) and the state of my build dir is at http://midgard2.hurttakallio.net/dropbox/ |
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
Quote:
(yes, this stuff will end up in extras-devel once me and lardman get it to slightly better shape, the above versions for example have all debug options I could find turned on so it's not exactly production release) |
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
Quote:
|
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
Quote:
Also I would like to keep the dependencies to bare minimum (which is why it only has compiled in support for GTK [Qt support needs no compilation]). I wonder about the dependencies though; can we leave out tk as dependency if we have compiled in support for it (at the very least we must change the default backend to GTK if we don't hard-depend on tk) I guess that would need a bunch of experimentation with a reliable way to rollback to a clean state (reflashing is probably easiest and fastest but a pain if you wish to use your device for something else than development only). |
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
So to get this moving forward again:
@lardman: got any good reasons why we should keep the data package separate (yes, in theory it's not achitecture specific but it might be more work than it's worth to keep it separate when the whole thing is in /opt/matplotlib) ? If we decide to change it to single package you should (as the maintainer) probably delete the two old packages and then either of us can upload new source. |
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
No, no reason to keep it separate other than that's the way it's handled in Debian so I stuck with the same layout. This might be beneficial if we want to update the package using the Debian one as a base.
I don't see the optification being a problem, as both packages are built from the same source so it's easy enough to make sure everything ends up in the same subdir under /opt But, if you have a burning desire to move to a single package, I'm also happy with that :) It's not possible to remove packages, so you will just have to bump the version to ensure that the newer single/multi-package version is seen as being newer. |
Re: Anyone compiled Qwt (and PyQwt) or other Python graphing/plotting libs?
is matplotlib optified? i would like to use it (perhaps with PyQt if possible, or PyGTK), but it seems to be rather large. I think it is not optified, but it is also possible that I perhaps do not understand something about how optification works. I see in previous posts there was mention of optification.
|
All times are GMT. The time now is 19:57. |
vBulletin® Version 3.8.8