Hello,

On Wed, Mar 24, 2010 at 18:12, Julien Jehannet
<julien.jehan...@logilab.fr> wrote:
>> * Sylvain Thénault <sylvain.thena...@logilab.fr> [22-mar-2010 12:18]:
>> On 22 mars 11:58, Sandro Tosi wrote:
>> > > 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.
>>
>> Julien, could you do the proper fix in lgc'setup.py please ?
> It's fixed in repo but I'm thinking about a new way now.
>
> Sandro,
> Alexandre,
>
> I noticed `/usr/share/python/python.mk` in squeeze release recently (see
> attachment).
>
> A snippet is proposed for backport support as we want here at Logilab to
> be able to build for lenny. The `python.mk` file defines some makefile
> variables as for example:
>
>   # Arguments to pass to setup.py install
>   py_setup_install_args = --install-layout=deb
>
> What are your opinion about using the ${py_setup_install_args} variable
> in debian/rules ?

Does that make you easier handling logilab-common package? if that's
the case, no problem using it.

It seems (at least from the removal of --install-layout=deb into
setup.py) there's some mixture of "upstream" installation process
(setup.py) and debian package preparation (debian/rules and
--install-layout=deb, that's debian specific).

So if you use the debian/rules available in the debian package also
for upstream distribution, I will happily use ${py_setup_install_args}
in it, else just "trust" my maintainership of the package and that
I'll do "the right thing" when needed ;)

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

Reply via email to