[Lunar-commits] <moonbase> setuptools: jump to its successor - distribute

Dennis Veatch dennisveatch at bellsouth.net
Tue Jan 18 13:23:45 CET 2011


On Tuesday, January 18, 2011 02:54:20 AM Paul Bredbury wrote:
> commit eb92d037b751a3a619a2e48f9c0659d0595126e4
> Author: Paul Bredbury <brebs at lunar-linux.org>
> Date:   Tue Jan 18 14:54:20 2011 +0700
> 
>     setuptools: jump to its successor - distribute
> ---
>  python/setuptools/BUILD   |    4 ++++
>  python/setuptools/DETAILS |   13 +++++++------
>  2 files changed, 11 insertions(+), 6 deletions(-)
> 
> diff --git a/python/setuptools/BUILD b/python/setuptools/BUILD
> index 381ba27..4472a67 100644
> --- a/python/setuptools/BUILD
> +++ b/python/setuptools/BUILD
> @@ -1,7 +1,11 @@
>  (
> 
>    python setup.py build &&
> +
>    prepare_install &&
> +
> +  # Specifying root, to stop packages clobbering each other's
> easy-install.pth +  #
> http://mail.python.org/pipermail/distutils-sig/2008-October/010208.html
> python setup.py install --root=/
> 

Good job digging that up.

This fixes part of the problem when installing calibre and the waffling that 
went on with missing lxml, then cssutils, etc. I tried this and then lin 
calibre, it barked about missing lxml, so lin lxml, calibre then barked about 
missing cssutils; rinse and repeat.

I so ended up setting the install to root for; lxml, cssutils, ClientForm, 
mechanize, and python-dateutil. So now when any of these are recompiled, 
including setuptools calibre installs without issues. I will commit those 
changes shortly.

There may be other python modules that use setuptools and we might want to add 
that root path.

-- 
Dennis `stumbles` Veatch
Lunar Linux Developer
http://www.lunar-linux.org/


More information about the Lunar-dev mailing list