[PySide] BuildScripts for Python 3 (Was: from PySide import * in Python2/3)

Thomas Perl th.perl at gmail.com
Tue Feb 21 17:49:01 CET 2012


Hi,

2012/2/21 anatoly techtonik <techtonik at gmail.com>:
> It seems that there is a problem with build scripts at
> https://github.com/PySide/BuildScripts/blob/master/README (see below)
> How to fix them to building PySide for Python 3 properly?

I've now pushed an update to the BuildScripts Git repository:

   https://github.com/PySide/BuildScripts

This includes support for building PySide for Python 3. You have to
edit the environment.sh file and uncomment one line. PySide for Python
3 will be installed in a different directory, so that you can easily
switch between it and PySide for Python 2 - simply edit the
environment.sh and then "source" it in your shell.

See the updated README file for more detailed instructions on how to
build for Python 3.

Please also note that pyside-tools and mobility are not yet able to
utilize/find Python 3 from the CMake scripts, I've filed two bugs:

http://bugs.pyside.org/show_bug.cgi?id=1148
http://bugs.pyside.org/show_bug.cgi?id=1149

HTH :)
Thomas



More information about the PySide mailing list