On Tuesday 28 December 2010 00:36:46 Algis Kabaila wrote:
> On 2010-11-19 Matti Airas wrote:
> """
> We now have (in the yet-unreleased Git head version) version
> strings as such:
> 
> PySide version: PySide.__version__ and PySide.__version_info__
> Qt version: PySide.QtCore.__version__ and
> PySide.QtCore.__version_info__
> """
> This version information is appreciated.  However, it would be
> even more useful if it displayed the minor version information,
> perhaps "b1" for beta1 and "b2" for beta 2 so that it would be
> possible to see what version one is operating.
> 
> As the little snipped of program below will show, currently for
> both b1 and b2 the above strings display the following:
> PySide.__version__   shows  string "1.0.0"  and
> PySide.__version_info__ shows string "(1,0,0)"

Yes... this is an issue, we can append "~betaX" on __version__ but I don't 
know how to proceed with __version_info__, because it's a tuple of ints 
besides we don't want this tuple to have different sizes on different PySide 
versions.

-- 
Hugo Parente Lima
INdT - Instituto Nokia de Tecnologia

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to