summaryrefslogtreecommitdiff
path: root/mailman/Version.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-02-27 01:26:18 -0500
committerBarry Warsaw2008-02-27 01:26:18 -0500
commita1c73f6c305c7f74987d99855ba59d8fa823c253 (patch)
tree65696889450862357c9e05c8e9a589f1bdc074ac /mailman/Version.py
parent3f31f8cce369529d177cfb5a7c66346ec1e12130 (diff)
downloadmailman-a1c73f6c305c7f74987d99855ba59d8fa823c253.tar.gz
mailman-a1c73f6c305c7f74987d99855ba59d8fa823c253.tar.zst
mailman-a1c73f6c305c7f74987d99855ba59d8fa823c253.zip
Diffstat (limited to 'mailman/Version.py')
-rw-r--r--mailman/Version.py47
1 files changed, 47 insertions, 0 deletions
diff --git a/mailman/Version.py b/mailman/Version.py
new file mode 100644
index 000000000..1dceb2687
--- /dev/null
+++ b/mailman/Version.py
@@ -0,0 +1,47 @@
+# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+# USA.
+
+# Mailman version
+VERSION = "3.0.0a1"
+
+# And as a hex number in the manner of PY_VERSION_HEX
+ALPHA = 0xa
+BETA = 0xb
+GAMMA = 0xc
+# release candidates
+RC = GAMMA
+FINAL = 0xf
+
+MAJOR_REV = 3
+MINOR_REV = 0
+MICRO_REV = 0
+REL_LEVEL = ALPHA
+# at most 15 beta releases!
+REL_SERIAL = 1
+
+HEX_VERSION = ((MAJOR_REV << 24) | (MINOR_REV << 16) | (MICRO_REV << 8) |
+ (REL_LEVEL << 4) | (REL_SERIAL << 0))
+
+
+# SQLAlchemy database schema version
+DATABASE_SCHEMA_VERSION = 1
+
+# qfile/*.db schema version number
+QFILE_SCHEMA_VERSION = 3
+
+# Printable version string used by command line scripts
+MAILMAN_VERSION = 'GNU Mailman ' + VERSION