From 088277f2906cb75836b3a4c3bcda3bc8af0e9ca3 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= <martin@v.loewis.de>
Date: Wed, 25 Jul 2007 16:24:08 +0000
Subject: [PATCH] Change location of the package index to pypi.python.org/pypi.

---
 Lib/distutils/command/register.py | 2 +-
 Lib/distutils/command/upload.py   | 2 +-
 Misc/NEWS                         | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Lib/distutils/command/register.py b/Lib/distutils/command/register.py
index 5fcc8d2764..200e61e240 100644
--- a/Lib/distutils/command/register.py
+++ b/Lib/distutils/command/register.py
@@ -17,7 +17,7 @@ class register(Command):
 
     description = ("register the distribution with the Python package index")
 
-    DEFAULT_REPOSITORY = 'http://www.python.org/pypi'
+    DEFAULT_REPOSITORY = 'http://pypi.python.org/pypi'
 
     user_options = [
         ('repository=', 'r',
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py
index 67ba080427..7461e5f453 100644
--- a/Lib/distutils/command/upload.py
+++ b/Lib/distutils/command/upload.py
@@ -20,7 +20,7 @@ class upload(Command):
 
     description = "upload binary package to PyPI"
 
-    DEFAULT_REPOSITORY = 'http://www.python.org/pypi'
+    DEFAULT_REPOSITORY = 'http://pypi.python.org/pypi'
 
     user_options = [
         ('repository=', 'r',
diff --git a/Misc/NEWS b/Misc/NEWS
index e88fb2aebc..8ca898b469 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -26,6 +26,8 @@ Core and builtins
 Library
 -------
 
+- Change location of the package index to pypi.python.org/pypi
+
 - Bug #1701409: Fix a segfault in printing ctypes.c_char_p and
   ctypes.c_wchar_p when they point to an invalid location.  As a
   sideeffect the representation of these instances has changed.
-- 
2.40.0