Commit 6dbc39cb authored by Jim Fulton's avatar Jim Fulton

Changed the default index to http://cheeseshop.python.org/simple.

parent 33dcf8ca
......@@ -31,6 +31,14 @@ Feature Changes
To prefer newer versions, regardless of whether or not they are
final, buildout-wide.
- The new simple Python index, http://cheeseshop.python.org/simple, is
used as the default index. This will provide better performance
than the human package index interface,
http://pypi.python.org/pypi. More importantly, it lists hidden
distributions, so buildouts with fixed distribution versions will be
able to find old distributions even if the distributions have been
hidden in the human PyPI interface.
Bugs Fixed
----------
......
......@@ -36,7 +36,10 @@ try:
except AttributeError:
pass
default_index_url = os.environ.get('buildout-testing-index-url')
default_index_url = os.environ.get(
'buildout-testing-index-url',
'http://cheeseshop.python.org/simple',
)
logger = logging.getLogger('zc.buildout.easy_install')
......@@ -82,14 +85,9 @@ def _get_index(executable, index_url, find_links):
if index_url is None:
index_url = default_index_url
if index_url is None:
index = setuptools.package_index.PackageIndex(
python=_get_version(executable)
)
else:
index = setuptools.package_index.PackageIndex(
index_url, python=_get_version(executable)
)
index = setuptools.package_index.PackageIndex(
index_url, python=_get_version(executable)
)
if find_links:
index.add_find_links(find_links)
......
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