Prepare for 3.2 release.
[mailman.git] / src / mailman / version.py
bloba03a4ff7bbdc046d5c8fa63947c596e29ffcc958
1 # Copyright (C) 1998-2018 by the Free Software Foundation, Inc.
3 # This file is part of GNU Mailman.
5 # GNU Mailman is free software: you can redistribute it and/or modify it under
6 # the terms of the GNU General Public License as published by the Free
7 # Software Foundation, either version 3 of the License, or (at your option)
8 # any later version.
10 # GNU Mailman is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 # more details.
15 # You should have received a copy of the GNU General Public License along with
16 # GNU Mailman. If not, see <http://www.gnu.org/licenses/>.
18 """Mailman version strings."""
20 # Mailman version.
21 VERSION = '3.2.0'
22 CODENAME = 'La Villa Strangiato'
24 # And as a hex number in the manner of PY_VERSION_HEX.
25 ALPHA = 0xa
26 BETA = 0xb # noqa: E221
27 GAMMA = 0xc
28 # Release candidates.
29 RC = GAMMA # noqa: E221
30 FINAL = 0xf
32 MAJOR_REV = 3
33 MINOR_REV = 2
34 MICRO_REV = 0
35 REL_LEVEL = FINAL
36 # At most 15 beta releases!
37 REL_SERIAL = 0
39 HEX_VERSION = ((MAJOR_REV << 24) | (MINOR_REV << 16) | (MICRO_REV << 8) |
40 (REL_LEVEL << 4) | (REL_SERIAL << 0)) # noqa: E221
43 # queue/*.pck schema version number.
44 QFILE_SCHEMA_VERSION = 3
46 # Printable version string used by command line scripts.
47 MAILMAN_VERSION = 'GNU Mailman ' + VERSION
48 MAILMAN_VERSION_FULL = MAILMAN_VERSION + ' (' + CODENAME + ')'