author | Richard Taylor <richard.i.taylor@nokia.com> |
Fri, 05 Mar 2010 11:57:56 +0000 | |
changeset 306 | dadc0df9f3ef |
parent 303 | 502501837ac4 |
child 366 | 7006bcce5299 |
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 |
|
303
502501837ac4
version 2.12.4 (candidate 2)
Richard Taylor <richard.i.taylor@nokia.com>
parents:
292
diff
changeset
|
19 |
version=(2,12,4,"2010-03-05","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 |