View Single Post
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#1
This topic is to exchange information about Python on Mer/Nemo. From developer's and user's point of view.

Python modules and softwares available on Mer/Nemo

The Sailfish/Python Development wiki page has almost all the Python packages also compatible with Mer/Nemo.

From gitweb.merproject.org/gitweb and list of last Mer packages, we have on Mer :
- Python 2.7.5;
- modules boost-python, dbus-python, libuser-python, libxml2-python, pacrunner-python, pygobject2, pygpgme, python-M2Crypto, python-cairo, python-contextkit, python-deltarpm, python-devel, python-iniparse, python-libs, python-lcms, python-lxml, python-magic, python-markdown, python-pycurl, python-pygments, python-setuptools, python-solv, python-test, python-tools, python-urlgrabber, python-yaml, rpm-python.

From Nemo devel MW and MartinK Nemo repository :
- pygtk2, python-imaging, python-magic, python-numeric, pyOpenSSL, python-pyside, python-pyside-shiboken, python-qtmobility, python-twisted, python-zope-interface;
MartinK confirmed that python-pyside for Qt 4.8 on Mer/Nemo is working well, as well as PyGTK. So many Python with GUI softwares from Maemo 5 & MeeGo Harmattan can be ported to Mer/Nemo.
Softwares developed in Python with GUI (in Qt Quick/QML) :
- ModRana : flexible GPS navigation system (there is also a Gtk version).

From Khertan MeeGo repository (all work on Nemo, but not all are packaged to Mer/Nemo) :
- pyflakes, pylint, pypackager, python-autopep8, python-beautifulsoup, python-egenix-mxdatetime, python-jinja2, python-markupsafe, python-nose, python-pep8, python-sdist-maemo.
Softwares developed in Python with GUI (in Qt Quick/QML) :
- BitPurse : Blockchain.info Bitcoin wallet client;
- KhtNotes : note taking application;
- KhtSimpleText : plain/programming text editor.

From RColistete Mer repository :
- ipython 2.2.0 (complete with Notebook and text interfaces), depending on python-pyzmq (and its depency zeromq), python-tornado, python-jinja2, python-markupsafe;
- python-sympy 0.7.5;
- python-numpy 1.9.0 (without Fortran, BLAS and LAPACK);
- python-matplotlib 1.4.0 (with Agg and WebAgg backends) and the dependencies python-pyparsing, python-pytz, python-dateutil, python-six, python-tornado;
- python-uncertainties 2.4.6.

For comparison, here are the lists of Python Harmattan modules and of Python Maemo 5 packages.

Python wish-list for Mer/Nemo

I would like to see :
- python-pygame (with many dependencies);
- python-numpy (Python & C/C++, complete with Fortran, BLAS e LAPACK);
- cython (Python & C/C++).

Some of them I hope to package to Mer / Nemo / etc, but if anyone has already made it or plan to, please tell here in this topic.

Python packaging

It is nice to package pure Python softwares with simpler (than Mer SDK) packaging tools, like PyPackager (for Maemo & MeeGo Harmattan). Khertan confirmed PyPackager creates source with spec file needed by COBS to package rpm for Mer and Nemo.
Also MartinK cited modRana packaging scripts which can adapted to other softwares to be sent to COBS.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2014-09-25 at 14:14. Reason: IPython 2.2.0, NumPy 1.9.0, MatPlotLib 1.4.0, etc
 

The Following 5 Users Say Thank You to rcolistete For This Useful Post: