[PySide] PySide Version Script

Sean Fisk sean at seanfisk.com
Mon Feb 24 20:15:32 CET 2014


Hi everyone,

Many people come to the list asking for help on platform-specific issues,
or have issues that eventually turn out to be platform-specific. To help
everyone ascertain just what version of everything they are running, I
created this PySide version script to mine this information using Python.

Here is an example:

$ wget -q -O - https://gist.githubusercontent.com/seanfisk/9194547/raw/pyside_version.py
| python -
Platform:                     Darwin-13.0.0-x86_64-i386-64bit
Specific platform info tuple: ('10.9.1', ('', '', ''), 'x86_64')
Python compiler:              GCC 4.2.1 Compatible Apple LLVM 5.0
(clang-500.2.79)
Python version:               CPython 2.7.5
PySide version:               1.2.1
PySide version tuple:         (1, 2, 1, 'final', 0)
Compiled with Qt:             4.8.6
Running with Qt:              4.8.6

You can find the script on the PySide version script
gist<https://gist.github.com/seanfisk/9194547>.
If people like it, I'll add it to the wiki; though I'm not quite sure where
to add it.

Thanks!
--
Sean Fisk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20140224/4cc17bc6/attachment.html>


More information about the PySide mailing list