![]() |
Re: Python & Qt5 on Sailfish
Thank you for this thread. I love python but I feel it's hard to create application UIs for Sailfish. Do I really have to use Cute/QML?
|
Re: Python & Qt5 on Sailfish
Quote:
|
Re: Python & Qt5 on Sailfish
Quote:
But I really Hope jolla adds pyhon3 and pyotherside as "public" in some update. |
Re: Python & Qt5 on Sailfish
Quote:
Install python3-devel via zypper, Code:
zypper in python3-develCode:
tar xfz lxml-versionX.tar.gzCode:
python3.3 setup.py buildCode:
python3.3 setup.py installCode:
[root@SailfishEmul nemo]# python3 |
Re: Python & Qt5 on Sailfish
Quote:
The way I was installing lxml was using 'virtualenv'. Once installed, a virtualenv for python3 can be created using 'virtualenv --python=python3'. Once activated, packages can be installed inside the virtualenv using pip (e.g. pip install lxml). More info at: http://www.virtualenv.org/en/latest/ |
Re: Python & Qt5 on Sailfish
Thank you anyway, I tried that before, but got an ImportError when using
Code:
./pip install lxmlCode:
ImportError: No module named 'ssl_match_hostname' |
Re: Python & Qt5 on Sailfish
About Python softwares running on Sailfish OS (with PyOtherSide or PyQt), the Jolla Harbour policy doesn't accept them for the moment :
https://harbour.jolla.com/faq Quote:
I also support PyQt 5 to be available in Mer/Nemo/Sailfish repository, as well as many Python tools (IPython, including notebook) and modules (NumPy, SymPy, etc). I will try to contact the Mer/Nemo community about this issue in the weekend. |
Re: Python & Qt5 on Sailfish
Any tests on real Jolla smartphone with Python ???
|
Re: Python & Qt5 on Sailfish
I made pyqt available for sailfish so anyone with a jphone can try it now with panucci:
http://talk.maemo.org/showpost.php?p...&postcount=563 Pyqt is very easy to build and the only dep it needs that is not available in sailfish already is sip so it wouldn't be much work to put it in a semi-official repo. Just poke me if you need working spec files for sip and pyqt. |
Re: Python & Qt5 on Sailfish
Quote:
1) Python is not installed by default, but it is simple to install v2.7.5 using Terminal : $ pkcon install python 2) mer-tools repository is not enabled by default, but can be : Code:
$ devel-su3) adding repositories is done with "zypper ar -G", because without the option "-G" (--no-gpgcheck, Disable GPG verification for this repository) the Jolla Store stops working (it can't install any software). For example, mer-python3 (with Python 3.3 and PyOtherSide) : PHP Code:
PHP Code:
SymPy and NumPy also work well on Sailfish. |
| All times are GMT. The time now is 01:47. |
vBulletin® Version 3.8.8