I think the smarter selection should be part of zc.buildout itself, and not only for bootstrapping. ie.: If index is not defined, select a mirror that works dynamically.
You can be also a bit clever to detect mirrors, using pypi API, maybe you can get inspiration from pip implementation:
I'm quite interested in this topic.
I think the smarter selection should be part of zc.buildout itself, and not only for bootstrapping. ie.: If index is not defined, select a mirror that works dynamically.
You can be also a bit clever to detect mirrors, using pypi API, maybe you can get inspiration from pip implementation:
- https:/ /bitbucket. org/ianb/ pip/src/ 8b6c6fccf0f1/ pip/index. py
By using this API
>>> from pip.index import get_mirrors pypi.python. org', 'b.pypi. python. org', 'c.pypi. python. org', pypi.python. org']
>>> get_mirrors()
['a.
'd.