From a44ba4da6f1bbdc0290905c139becf9b728cb0f6 Mon Sep 17 00:00:00 2001 From: PJ Eby Date: Tue, 4 Sep 2007 15:56:34 +0000 Subject: The default ``--index-url`` is now ``http://pypi.python.org/simple``, to use the Python Package Index's new simpler (and faster!) REST API. (backport from trunk) --HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4057965 --- setuptools/package_index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/package_index.py') diff --git a/setuptools/package_index.py b/setuptools/package_index.py index d558b648..fed36a88 100755 --- a/setuptools/package_index.py +++ b/setuptools/package_index.py @@ -149,7 +149,7 @@ user_agent = "Python-urllib/%s setuptools/%s" % ( class PackageIndex(Environment): """A distribution index that scans web pages for download URLs""" - def __init__(self, index_url="http://www.python.org/pypi", hosts=('*',), + def __init__(self, index_url="http://pypi.python.org/simple", hosts=('*',), *args, **kw ): Environment.__init__(self,*args,**kw) -- cgit v1.2.1