[Distutils] custom package index issue
eric.c2c at gmail.com
Thu Jan 15 17:11:04 CET 2009
On Thu, Jan 15, 2009 at 4:24 PM, Phillip J. Eby <pje at telecommunity.com> wrote:
> At 02:44 PM 1/15/2009 +0100, Eric Lemoine wrote:
>> For a project I'm involved in we created our own package index. The
>> package index includes our package (mapfish), as well as its direct
>> and indirect dependencies.
>> Then, the installation of the "mapfish" package and its dependencies
>> is done with this command:
>> easy_install -i http://dev.camptocamp.com/packages/mapfish/1.0/index
>> The installation command works, but some indirect dependencies aren't
>> downloaded from our package index but from other sources. For
>> example,"simplejson" which "pylons" depends on (which "mapfish"
>> depends on), is downloaded from
>> as opposed to be downloaded from
> Binary packages are given precedence over source packages, and presumably
> Pylons is providing a direct link in its setup.py.
>> We'd like every mapfish dependency to be downloaded from our package
>> index. Does anyone know how to achieve this?
> You'll need to either ensure that your index provides binaries, or use
> --allow-hosts to restrict what hosts easy_install will look for files on.
Thanks you all, --allow-hosts does the trick!
More information about the Distutils-SIG