author | Richard Taylor <richard.i.taylor@nokia.com> |
Fri, 29 Jan 2010 09:52:16 +0000 | |
branch | fix |
changeset 177 | a363840a27e3 |
parent 158 | a06c1a10c603 |
child 211 | b06effc0c547 |
permissions | -rw-r--r-- |
3 | 1 |
# |
177
a363840a27e3
release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents:
158
diff
changeset
|
2 |
# Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 | 3 |
# All rights reserved. |
4 |
# This component and the accompanying materials are made available |
|
5 |
# under the terms of the License "Eclipse Public License v1.0" |
|
6 |
# which accompanies this distribution, and is available |
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
# |
|
9 |
# Initial Contributors: |
|
10 |
# Nokia Corporation - initial contribution. |
|
11 |
# |
|
12 |
# Contributors: |
|
13 |
# |
|
14 |
# Description: |
|
15 |
# raptor version information module |
|
16 |
||
177
a363840a27e3
release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents:
158
diff
changeset
|
17 |
# replace CHANGESET with the Hg changeset for ANY release |
a363840a27e3
release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents:
158
diff
changeset
|
18 |
|
a363840a27e3
release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents:
158
diff
changeset
|
19 |
version=(2,12,1,"2010-01-29","symbian build system","CHANGESET") |
5 | 20 |
|
21 |
def numericversion(): |
|
3 | 22 |
"""Raptor version string""" |
5 | 23 |
return "%d.%d.%d" % version[:3] |
24 |
||
25 |
def fullversion(): |
|
26 |
"""Raptor version string""" |
|
177
a363840a27e3
release note: 3 fixes for 2.12.1
Richard Taylor <richard.i.taylor@nokia.com>
parents:
158
diff
changeset
|
27 |
return "%d.%d.%d [%s %s %s]" % version |