From ef57abdb6012c9c97cdd22b7bb1f82a645ae3141 Mon Sep 17 00:00:00 2001
From: Anthony Baxter <anthonybaxter@gmail.com>
Date: Wed, 18 Apr 2007 03:35:45 +0000
Subject: 2.5.1 final

---
 Doc/commontex/boilerplate.tex | 2 +-
 Include/patchlevel.h          | 6 +++---
 Lib/idlelib/NEWS.txt          | 5 +++++
 Lib/idlelib/idlever.py        | 2 +-
 Misc/NEWS                     | 2 +-
 5 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/Doc/commontex/boilerplate.tex b/Doc/commontex/boilerplate.tex
index 1065951..78c6449 100644
--- a/Doc/commontex/boilerplate.tex
+++ b/Doc/commontex/boilerplate.tex
@@ -5,5 +5,5 @@
 	Email: \email{docs@python.org}
 }
 
-\date{5th April, 2007}			% XXX update before final release!
+\date{18th April, 2007}			% XXX update before final release!
 \input{patchlevel}		% include Python version information
diff --git a/Include/patchlevel.h b/Include/patchlevel.h
index d55295b..adfb7fb 100644
--- a/Include/patchlevel.h
+++ b/Include/patchlevel.h
@@ -22,11 +22,11 @@
 #define PY_MAJOR_VERSION	2
 #define PY_MINOR_VERSION	5
 #define PY_MICRO_VERSION	1
-#define PY_RELEASE_LEVEL	PY_RELEASE_LEVEL_GAMMA
-#define PY_RELEASE_SERIAL	1
+#define PY_RELEASE_LEVEL	PY_RELEASE_LEVEL_FINAL
+#define PY_RELEASE_SERIAL	0
 
 /* Version as a string */
-#define PY_VERSION		"2.5.1c1"
+#define PY_VERSION		"2.5.1"
 
 /* Subversion Revision number of this file (not of the repository) */
 #define PY_PATCHLEVEL_REVISION  "$Revision$"
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
index 886ae86..54ce807 100644
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -1,3 +1,8 @@
+What's New in IDLE 1.2.1?
+=========================
+
+*Release date: 18-APR-2007*
+
 What's New in IDLE 1.2.1c1?
 ===========================
 
diff --git a/Lib/idlelib/idlever.py b/Lib/idlelib/idlever.py
index 83f2936..9f7fb5a 100644
--- a/Lib/idlelib/idlever.py
+++ b/Lib/idlelib/idlever.py
@@ -1 +1 @@
-IDLE_VERSION = "1.2.1c1"
+IDLE_VERSION = "1.2.1"
diff --git a/Misc/NEWS b/Misc/NEWS
index 9a13da6..6475b76 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -7,7 +7,7 @@ Python News
 What's New in Python 2.5.1?
 =============================
 
-*Release date: XX-APR-2007*
+*Release date: 18-APR-2007*
 
 Core and builtins
 -----------------
-- 
cgit v0.12

