[Distutils] Avoid dependency_links / find_links

Patrice Neff mailinglists at patrice.ch
Tue Oct 20 00:02:51 CEST 2009


Hi,

We manage our projects with setuptools. For this we have a local PyPi  
mirror with just our required packages. This mirror is specified in  
our setuptools environments using the index_url directive. The basic  
idea is: we don't want to access the internet when installing  
packages. Today I had to realized that we haven't been reaching that  
goal as Pylons contains a dependency_links pointing to pylonshq.com.

So the question would be: is there any way to avoid following any  
dependency_links and/or find_links paths and only use the index_url?

I have quickly checked the setuptools source code and couldn't find  
any way to do this. Would a patch be accepted if I implemented that  
behavior? Are there other approaches to do what I'm trying to do?

Thanks in advance
Patrice


More information about the Distutils-SIG mailing list