summaryrefslogtreecommitdiff
path: root/mailman/version.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-03-31 14:12:04 -0400
committerBarry Warsaw2008-03-31 14:12:04 -0400
commit99113155a828f14ae9df817e9c02855683dea02f (patch)
treeeffbc5a3786c7365140c70a6e00a9d8c55748b95 /mailman/version.py
parent65ec767071f34a22ad6cb01d79a1dd6440e0411f (diff)
downloadmailman-99113155a828f14ae9df817e9c02855683dea02f.tar.gz
mailman-99113155a828f14ae9df817e9c02855683dea02f.tar.zst
mailman-99113155a828f14ae9df817e9c02855683dea02f.zip
Diffstat (limited to 'mailman/version.py')
-rw-r--r--mailman/version.py48
1 files changed, 48 insertions, 0 deletions
diff --git a/mailman/version.py b/mailman/version.py
new file mode 100644
index 000000000..6a0cfa642
--- /dev/null
+++ b/mailman/version.py
@@ -0,0 +1,48 @@
+# 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"
+CODENAME = 'Leave That Thing Alone'
+
+# 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