annotate gamelib/version.py @ 557:50d6c68ce267

Add gameboard to buildings. Update save version as this breaks old save games
author Neil Muller <drnlmuller@gmail.com>
date Sat, 28 Nov 2009 18:20:46 +0000
parents 3d173ea43ad5
children 7bccd2bda217
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
283
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
1 """Operation Fox Assault Version Information"""
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
2
358
be6c1be37f28 Release 1.0.0.
Simon Cross <hodgestar@gmail.com>
parents: 283
diff changeset
3 VERSION = (1, 0, 0, 'final', 0)
283
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
4 BASE_VERSION_STR = '.'.join([str(x) for x in VERSION[:3]])
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
5 VERSION_STR = {
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
6 'final': BASE_VERSION_STR,
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
7 'alpha': BASE_VERSION_STR + 'a' + str(VERSION[4]),
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
8 'rc': BASE_VERSION_STR + 'rc' + str(VERSION[4]),
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
9 }[VERSION[3]]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
10
466
3d173ea43ad5 Add version number to saved games.
Simon Cross <hodgestar@gmail.com>
parents: 358
diff changeset
11 # incremement whenever a change breaks the save game file format
557
50d6c68ce267 Add gameboard to buildings. Update save version as this breaks old save games
Neil Muller <drnlmuller@gmail.com>
parents: 466
diff changeset
12 SAVE_GAME_VERSION = 2
466
3d173ea43ad5 Add version number to saved games.
Simon Cross <hodgestar@gmail.com>
parents: 358
diff changeset
13
283
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
14 NAME = 'Operation Fox Assault'
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
15 DESCRIPTION = 'Turn-based strategy game written using Pygame.'
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
16
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
17 PEOPLE = {
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
18 'Simon': ('Simon Cross', 'hodgestar+rinkhals@gmail.com'),
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
19 'Neil': ('Neil Muller', 'drnmuller+rinkhals@gmail.com'),
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
20 'Adrianna': ('Adrianna Pinska', 'adrianna.pinska+rinkhals@gmail.com'),
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
21 'Jeremy': ('Jeremy Thurgood', 'firxen+rinkhals@gmail.com'),
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
22 'David': ('David Fraser', 'davidroyfraser+rinkhals@gmail.com'),
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
23 }
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
24
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
25 AUTHORS = [
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
26 PEOPLE['Simon'],
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
27 PEOPLE['Neil'],
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
28 PEOPLE['Adrianna'],
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
29 PEOPLE['Jeremy'],
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
30 PEOPLE['David'],
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
31 ]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
32
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
33 AUTHOR_NAME = AUTHORS[0][0]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
34 AUTHOR_EMAIL = AUTHORS[0][1]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
35
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
36 MAINTAINERS = AUTHORS
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
37
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
38 MAINTAINER_NAME = MAINTAINERS[0][0]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
39 MAINTAINER_EMAIL = MAINTAINERS[0][1]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
40
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
41 ARTISTS = [
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
42 PEOPLE['Adrianna'],
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
43 PEOPLE['Jeremy'],
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
44 ]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
45
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
46 DOCUMENTERS = [
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
47 PEOPLE['Neil'],
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
48 ]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
49
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
50 # SOURCEFORGE_URL = 'http://sourceforge.net/projects/XXXX/'
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
51 # PYPI_URL = 'http://pypi.python.org/pypi/XXXX/'
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
52
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
53 LICENSE = 'GPL'
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
54 # LICENSE_TEXT = resource_string(__name__, 'COPYING')
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
55
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
56 CLASSIFIERS = [
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
57 'Development Status :: 4 - Beta',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
58 'Environment :: MacOS X',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
59 'Environment :: Win32 (MS Windows)',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
60 'Environment :: X11 Applications',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
61 'Intended Audience :: End Users/Desktop',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
62 'License :: OSI Approved :: GNU General Public License (GPL)',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
63 'Natural Language :: English',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
64 'Operating System :: Microsoft :: Windows',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
65 'Operating System :: POSIX',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
66 'Operating System :: MacOS :: MacOS X',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
67 'Programming Language :: Python :: 2.5',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
68 'Programming Language :: Python :: 2.6',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
69 'Topic :: Games/Entertainment :: Turn Based Strategy',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
70 ]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
71
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
72 PLATFORMS = [
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
73 'Linux',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
74 'Mac OS X',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
75 'Windows',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
76 ]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
77
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
78 INSTALL_REQUIRES = [
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
79 ]
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
80
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
81 # Install these manually
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
82 NON_EGG_REQUIREMENTS = [
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
83 'setuptools',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
84 'pygame',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
85 'pgu',
6ade2b371445 Start of file with version and maintainer information.
Simon Cross <hodgestar@gmail.com>
parents:
diff changeset
86 ]