I’m doing a bunch of python stuff right now (fibonacci updates, Solver calculus app) and I have two approaches:
- on chum, with the help of @nephros, I released some libaries (sympy mpmath) which can be included on that dist. channel.
- For harbour I just package them as follows:
a) unpack the tar.gz files of the release in ${project}/${lib}
b) append libs.path = /usr/share/$${TARGET} && libs.files = lib in .pro
c) INSTALLS += libs
d) In .spec installs post section
cd %{buildroot}%{_datadir}/%{name}/lib/sympy-1.9
python3 setup.py install --root=%{buildroot} --prefix=%{_datadir}/%{name}/
rm -rf %{buildroot}%{_datadir}/%{name}/lib/sympy-1.9
This is a damn slow way of building things, BUT, it get’s you into harbour and does at least mean you know EXACTLY what you get from a library, because, obviously, you’ve read every line of exactly that version
I hope I have some time next week to dedicate to your app. hope, hope. And, as @dcaliste suggested, from all the time I admire your swiss meteo app, you write nice code which I should emulate more