[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFC: Proposed updates to the Python Policy to reflect current practices



Loïc Minier ha scritto:
>  Thanks for your review, I'm attaching the following new patches:
>     s/binary/interpreter for /usr/bin/python*
>     Clarify binary versus source packages
>     Require the python- prefix for public modules
> 
>  let me know if they address your comments

Thanks!

>> I'm unsure about this point. Doesn't python-support search for modules
>> in /usr/lib/pythonY.X/{site,dist}-packages, or is this another location
>> where pysupport can look at?
> 
>  IIUC, python-supports generates the /usr/lib/pymodules hierarchy which
>  is where python-support backed modules get loaded from.  This location
>  is added to the path by matters of
>  /usr/lib/python2.*/*-packages/python-support.pth files:
> %  ls -l /usr/lib/python2.*/*-packages/python-support.pth
> lrwxrwxrwx 1 root root 31 Dec 11 09:27 /usr/lib/python2.4/site-packages/python-support.pth -> ../../pymodules/python2.4/.path
> lrwxrwxrwx 1 root root 31 Dec 11 09:27 /usr/lib/python2.5/site-packages/python-support.pth -> ../../pymodules/python2.5/.path
> lrwxrwxrwx 1 root root 31 Dec 11 09:27 /usr/lib/python2.6/dist-packages/python-support.pth -> ../../pymodules/python2.6/.path

Ok, understood now.

>> python-support doesn't manage XB-Python-Version (or at least it
>> shouldn't right now). Is this supposed to be changed in python-support,
>> or packages using such tool can ignore it?
> 
>  python-support can generate XB-Python-Version:, but wont use the data.
> 
>  This recommendation was kept because it might be useful to have a
>  machine parseable field containing the list of supported versions for a
>  package, perhaps to schedule rebuilds.

Sounds reasonable to me.

Thanks for the clarification!

-- 

  .''`.
 : :' :   Luca Falavigna <dktrkranz@debian.org>
 `. `'
   `-

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: