annotate lib/version.py @ 3172:d1b367fc08bc tests-returncode

Use a return code of 1 when the tests fail.
author Thomas Kluyver <takowl@gmail.com>
date Wed, 09 Jan 2013 10:13:57 +0000
parents e24c706da460
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
66
b73167268414 new version module
pygame
parents:
diff changeset
1 ## pygame - Python Game Library
460
d74a54c6ab7d color module
pygame
parents: 437
diff changeset
2 ## Copyright (C) 2000-2003 Pete Shinners
66
b73167268414 new version module
pygame
parents:
diff changeset
3 ##
b73167268414 new version module
pygame
parents:
diff changeset
4 ## This library is free software; you can redistribute it and/or
b73167268414 new version module
pygame
parents:
diff changeset
5 ## modify it under the terms of the GNU Library General Public
b73167268414 new version module
pygame
parents:
diff changeset
6 ## License as published by the Free Software Foundation; either
b73167268414 new version module
pygame
parents:
diff changeset
7 ## version 2 of the License, or (at your option) any later version.
b73167268414 new version module
pygame
parents:
diff changeset
8 ##
b73167268414 new version module
pygame
parents:
diff changeset
9 ## This library is distributed in the hope that it will be useful,
b73167268414 new version module
pygame
parents:
diff changeset
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
b73167268414 new version module
pygame
parents:
diff changeset
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
b73167268414 new version module
pygame
parents:
diff changeset
12 ## Library General Public License for more details.
b73167268414 new version module
pygame
parents:
diff changeset
13 ##
b73167268414 new version module
pygame
parents:
diff changeset
14 ## You should have received a copy of the GNU Library General Public
b73167268414 new version module
pygame
parents:
diff changeset
15 ## License along with this library; if not, write to the Free
b73167268414 new version module
pygame
parents:
diff changeset
16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
b73167268414 new version module
pygame
parents:
diff changeset
17 ##
b73167268414 new version module
pygame
parents:
diff changeset
18 ## Pete Shinners
b73167268414 new version module
pygame
parents:
diff changeset
19 ## pete@shinners.org
b73167268414 new version module
pygame
parents:
diff changeset
20
75
9327ae2bf938 docs now do python modules too
pygame
parents: 67
diff changeset
21 """Simply the current installed pygame version. The version information is
9327ae2bf938 docs now do python modules too
pygame
parents: 67
diff changeset
22 stored in the regular pygame module as 'pygame.ver'. Keeping the version
9327ae2bf938 docs now do python modules too
pygame
parents: 67
diff changeset
23 information also available in a separate module allows you to test the
9327ae2bf938 docs now do python modules too
pygame
parents: 67
diff changeset
24 pygame version without importing the main pygame module.
9327ae2bf938 docs now do python modules too
pygame
parents: 67
diff changeset
25
9327ae2bf938 docs now do python modules too
pygame
parents: 67
diff changeset
26 The python version information should always compare greater than any previous
9327ae2bf938 docs now do python modules too
pygame
parents: 67
diff changeset
27 releases. (hmm, until we get to versions > 10)
9327ae2bf938 docs now do python modules too
pygame
parents: 67
diff changeset
28 """
66
b73167268414 new version module
pygame
parents:
diff changeset
29
1926
e24c706da460 updated version to 1.9.2pre
Rene Dudfield <renesd@gmail.com>
parents: 1925
diff changeset
30 ver = '1.9.2pre'
e24c706da460 updated version to 1.9.2pre
Rene Dudfield <renesd@gmail.com>
parents: 1925
diff changeset
31 vernum = 1,9,2