[Distutils] [Python Language Summit] Distutils / Packaging survey

David Cournapeau david at ar.media.kyoto-u.ac.jp
Sun Feb 1 06:41:18 CET 2009


P.J. Eby wrote:
> 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.

True, and that's exactly what is written there:

http://wiki.python.org/moin/Distutils/Proposals/AutoconfLikeOptions

I am sure I forgot some categories - I only put the ones I could think
of right away from looking at one python package I am familiar with (numpy).

> Or else they ALL belong in /lib.  The entire "FHS demands they be
> split" concept is wrong from the get-go, under that interpretation.

nobody made that suggestion AFAICS,

David



More information about the Distutils-SIG mailing list