Update some URLs (packages.python.org -> pythonhosted.org).

parent fbbc3e19
...@@ -495,7 +495,7 @@ how it parses version numbers. ...@@ -495,7 +495,7 @@ how it parses version numbers.
This closes issue #52. This closes issue #52.
* Added an upload_docs command to easily upload project documentation to * Added an upload_docs command to easily upload project documentation to
PyPI's http://packages.python.org. This close issue #56. PyPI's https://pythonhosted.org. This close issue #56.
* Fixed a bootstrap bug on the use_setuptools() API. * Fixed a bootstrap bug on the use_setuptools() API.
......
...@@ -2414,7 +2414,7 @@ The ``upload`` command has a few options worth noting: ...@@ -2414,7 +2414,7 @@ The ``upload`` command has a few options worth noting:
====================================================== ======================================================
PyPI now supports uploading project documentation to the dedicated URL PyPI now supports uploading project documentation to the dedicated URL
http://packages.python.org/<project>/. https://pythonhosted.org/<project>/.
The ``upload_docs`` command will create the necessary zip file out of a The ``upload_docs`` command will create the necessary zip file out of a
documentation directory and will post to the repository. documentation directory and will post to the repository.
......
...@@ -7,7 +7,7 @@ A tool for doing automatic download/extract/build of distutils-based Python ...@@ -7,7 +7,7 @@ A tool for doing automatic download/extract/build of distutils-based Python
packages. For detailed documentation, see the accompanying EasyInstall.txt packages. For detailed documentation, see the accompanying EasyInstall.txt
file, or visit the `EasyInstall home page`__. file, or visit the `EasyInstall home page`__.
__ http://packages.python.org/setuptools/easy_install.html __ https://pythonhosted.org/setuptools/easy_install.html
""" """
import sys import sys
...@@ -467,7 +467,7 @@ variable. ...@@ -467,7 +467,7 @@ variable.
For information on other options, you may wish to consult the For information on other options, you may wish to consult the
documentation at: documentation at:
http://packages.python.org/setuptools/easy_install.html https://pythonhosted.org/setuptools/easy_install.html
Please make the appropriate changes for your system and try again. Please make the appropriate changes for your system and try again.
""" """
...@@ -1254,7 +1254,7 @@ Here are some of your options for correcting the problem: ...@@ -1254,7 +1254,7 @@ Here are some of your options for correcting the problem:
* You can set up the installation directory to support ".pth" files by * You can set up the installation directory to support ".pth" files by
using one of the approaches described here: using one of the approaches described here:
http://packages.python.org/setuptools/easy_install.html#custom-installation-locations https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again.""" % ( Please make the appropriate changes for your system and try again.""" % (
self.install_dir, os.environ.get('PYTHONPATH','') self.install_dir, os.environ.get('PYTHONPATH','')
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"""upload_docs """upload_docs
Implements a Distutils 'upload_docs' subcommand (upload documentation to Implements a Distutils 'upload_docs' subcommand (upload documentation to
PyPI's packages.python.org). PyPI's pythonhosted.org).
""" """
import os import os
...@@ -185,7 +185,7 @@ class upload_docs(upload): ...@@ -185,7 +185,7 @@ class upload_docs(upload):
elif r.status == 301: elif r.status == 301:
location = r.getheader('Location') location = r.getheader('Location')
if location is None: 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, self.announce('Upload successful. Visit %s' % location,
log.INFO) log.INFO)
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment