On 7/3/12 10:12 AM, Alexis Métaireau wrote:
Le mar. 03 juil. 2012 10:08:07 CEST, Tarek Ziadé a écrit :
Yeah so even a 'cleaned up' mirror will not do the trick. For pip and
easy_install, we need a lower-level barrier to avoid hitting the net
Well, if links are removed from the indexes, then the crawler will not
try to follow the links, which sounds enough, isn't it? In which cases
would an installer hit the external links if it doesn't have a way to
discover them?
The scenario I had in mind was:
1. installer downloads Foo-1.2.tgz
2. installer runs Foo's setup.py
3. Foo's metadata mentions http://example.com
4. installer follow that link
But I did not check the code yet
Additionally, distutils2 do have a "follow_links" options that can be
set to False (I'm even wondering if thats not the default option)
Alexis
_______________________________________________
Distutils-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig