Hi Julien, On Mon, Mar 22, 2010 at 11:32, Julien Jehannet <julien.jehan...@logilab.fr> wrote: > Hello Sandro, > >> * Sandro Tosi <mo...@debian.org> [22-mar-2010 08:38]: >> Hi Sylvain, >> >> On Mon, Mar 22, 2010 at 08:25, Sylvain Thénault >> <sylvain.thena...@logilab.fr> wrote: >> > On 20 mars 10:18, Sandro Tosi wrote: >> >> I fear it's still wrong. distutils 2.5.1 supports --install-layout=deb >> >> but the check: >> >> >> >> In [3]: tuple([int(x) for x in distutils_version.split('.')]) <= (2, 5, 1) >> >> Out[3]: True >> >> >> >> that causes again to drop that option. You can, for example, check got >> >> a strictly lower version than 2.5.1 but don't know how correct it >> >> could be. >> > >> > If you tell me we shoud use --install-layout=dev with python < 2.5.1 and >> > not >> > <= 2.5.1, changing the comparison into strict comparison should definitly >> > do the trick and I'll do that. >> >> Well, what I say is that distutils version 2.5.1 supports >> --install-layout=deb (the example is the debian package :) ) so using >> a stricter check will allow to build logilab-common in a Debian sid >> environment without patching. > > I rather think the current test about distutils version is inadequate. > Because '--install-layout=dev' doesn't seem to exist for python 2.5.2-3 > (lenny) but *does* for python 2.5.4-1 (distutils version still the same).
Yep, you're right: it was introduced in 2.5.3-1~exp1 so it might be better to check python version than distutils one. > Maybe we could add a new check on python version to disambiguate till > the next Debian release. I agree. >> Thanks for your support, > Thanks for all your Debian support ! np :) > P.S I've still hope to have concrete time to help the Python packaging teams > soon. whenever it will be, you're welcome! Feel free to contact me or debian-pyt...@lists.debian.org in case of doubts or how to start. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi _______________________________________________ Python-Projects mailing list Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects