summaryrefslogtreecommitdiff
path: root/setuptools/command/upload_docs.py
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>2013-06-11 09:10:33 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>2013-06-11 09:10:33 +0200
commit6a428c6d76b0fdf16f5cf9996b64397cabb7d21f (patch)
treebde6a2f1ff64a54f131ce25f21586e9a6002f3fb /setuptools/command/upload_docs.py
parentfc50a0db122dc5531a2439a39b808e4dc4b0ea59 (diff)
downloadpython-setuptools-bitbucket-6a428c6d76b0fdf16f5cf9996b64397cabb7d21f.tar.gz
Update some URLs (packages.python.org -> pythonhosted.org).
Diffstat (limited to 'setuptools/command/upload_docs.py')
-rw-r--r--setuptools/command/upload_docs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/upload_docs.py b/setuptools/command/upload_docs.py
index 1d5a7445..6df3f394 100644
--- a/setuptools/command/upload_docs.py
+++ b/setuptools/command/upload_docs.py
@@ -2,7 +2,7 @@
"""upload_docs
Implements a Distutils 'upload_docs' subcommand (upload documentation to
-PyPI's packages.python.org).
+PyPI's pythonhosted.org).
"""
import os
@@ -185,7 +185,7 @@ class upload_docs(upload):
elif r.status == 301:
location = r.getheader('Location')
if location is None:
- location = 'http://packages.python.org/%s/' % meta.get_name()
+ location = 'https://pythonhosted.org/%s/' % meta.get_name()
self.announce('Upload successful. Visit %s' % location,
log.INFO)
else: