[Python-modules-team] Bug#784512: Is anybody working on PySide2?

Dominique Belhachemi domibel at debian.org
Sun Sep 24 20:35:08 UTC 2017


You can find some pyside2 packages in following Ubuntu PPA

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:thopiekar/pyside-git
sudo apt-get update
apt-get install python3-pyside2



For a quick test you can try to compile the packages in Debian testing.

# compile and install shiboken2
# you need at least clang 3.9, I tried it with 4.0
sudo apt install libclang-4.0-dev llvm-4.0 clang-4.0
dget
https://answers.launchpad.net/~thopiekar/+archive/ubuntu/pyside-git/+files/shiboken2_2.0.0.dev0-0~201708271303~rev1711~pkg53~ubuntu17.10.1.dsc
dpkg-source -x
shiboken2_2.0.0.dev0-0~201708271303~rev1711~pkg53~ubuntu17.10.1.dsc
sudo mk-build-deps --install ~/shiboken2-2.0.0.dev0/debian/control
cd shiboken2-2.0.0.dev0/
# switch to clang/llvm 4.0
PATH=/usr/lib/llvm-4.0/bin:$PATH
# may have to set this in debian/rules:     CLANG_INSTALL_DIR :=
"/usr/lib/llvm-4.0/"
debuild -j16
# install the shiboken packages ...


# compile and install pyside2
dget
https://answers.launchpad.net/~thopiekar/+archive/ubuntu/pyside-git/+files/pyside2_2.0.0+dev-0~201708271303~rev1779~pkg53~ubuntu17.10.1.dsc
dpkg-source -x
pyside2_2.0.0+dev-0~201708271303~rev1779~pkg53~ubuntu17.10.1.dsc
sudo mk-build-deps --install ~/pyside2-2.0.0+dev/debian/control
cd pyside2-2.0.0+dev/
rm debian/source/format
debuild -j16
# install pyside2 packages ...


# run a pyside2 examples from http://code.qt.io/cgit/pyside/examples.git
e.g.
http://code.qt.io/cgit/pyside/examples.git/tree/examples/widgets/widgets/tetrix.py
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170924/5591970f/attachment.html>


More information about the Python-modules-team mailing list