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)
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
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."""
22 CODENAME
= 'La Villa Strangiato'
24 # And as a hex number in the manner of PY_VERSION_HEX.
26 BETA
= 0xb # noqa: E221
29 RC
= GAMMA
# noqa: E221
36 # At most 15 beta releases!
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
+ ')'