dh_python2 and /usr/share/pyshared in quantal

Scott Kitterman ubuntu at kitterman.com
Tue May 22 19:21:10 UTC 2012


On Tuesday, May 22, 2012 02:49:53 PM Barry Warsaw wrote:
> >/usr/share/pyshared is the correct location for such things.  That's what
> >Python policy says.  pyshared is not an internal implementation detail of
> >dh_python2.  It's where Python policy says to find such things.
> 
> Actually, I read python-policy as being a bit ambiguous here.  To me, it
> clearly says pyshared is the location for source code common for multiple
> Python (2) versions, but I think it's less than clear that this also applies
> to non-code common files.
> 
> The other two hits for 'pyshared' in python-policy.txt are in the deprecated
> python-support and python-central sections, so might be misconstrued as
> being implementation details of those helpers respectively (there's no
> mention of it in the dh_python2/3 section).

My hope (as one of the Python policy authors) is to eventually divorce the 
policy from any implementation specifics.  To the extent implementation specific 
details of pysupport or pycentral are mentioned, I consider them historical 
warts to be gotten rid of as soon as we can.

Scott K

P.S. re the other message - understand about the reverse engineering.



More information about the ubuntu-devel mailing list