At 05:40 PM 1/31/2009 +0900, David Cournapeau wrote:
Ian Bicking wrote:
On Fri, Jan 30, 2009 at 12:39 PM, Floris Bruynooghe I wouldn't want to use those. What goes in libdir, what goes in datadir? I don't know, and frankly the distinctions start getting really arbitrary.
They are not arbitrary - they come from standard usage and have a rationale, at least on Unix (datadir for arch independent, and libdir for arch dependent, to simplify).
But you mostly do not need to care, as a developer: .py files would be considered as data files, extensions as arch-dependent, etc...
If this is true, then there's no need to distinguish between .py files and any other data files - they both belong in /share to begin with, not in /lib. Or else they ALL belong in /lib. The entire "FHS demands they be split" concept is wrong from the get-go, under that interpretation.