[prev in list] [next in list] [prev in thread] [next in thread]
List: python-dev
Subject: Re: [Python-Dev] FHS compliance of Python installation
From: James Y Knight <foom () fuhm ! net>
Date: 2010-06-26 21:10:42
Message-ID: FE2C9460-5111-41A5-8405-C79D888DFB26 () fuhm ! net
[Download RAW message or body]
On Jun 26, 2010, at 4:35 PM, Matthias Klose wrote:
> On 26.06.2010 22:30, C. Titus Brown wrote:
>> On Sat, Jun 26, 2010 at 10:25:28PM +0200, Matthias Klose wrote:
>>> On 25.06.2010 02:54, Ben Finney wrote:
>>>> James Y Knight<foom@fuhm.net> writes:
>>>>
>>>>> Really, python should store the .py files in /usr/share/python/,
>>>>> the
>>>>> .so files in /usr/lib/x86_64- linux-gnu/python2.5-debug/, and
>>>>> the .pyc
>>>>> files in /var/lib/python2.5- debug. But python doesn't work like
>>>>> that.
>>>>
>>>> +1
>>>>
>>>> So who's going to draft the ???Filesystem Hierarchy Standard
>>>> compliance???
>>>> PEP? :-)
>>>
>>> This has nothing to do with the FHS. The FHS talks about data,
>>> not code.
>>
>> Really? It has some guidelines here for object files, etc., at
>> least as
>> of 2004.
>>
>> http://www.pathname.com/fhs/pub/fhs-2.3.html
>>
>> A quick scan suggests /usr/lib is the right place to look:
>>
>> http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA
>
> agreed for object files, but
> http://www.pathname.com/fhs/pub/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA
> explicitely states "The /usr/share hierarchy is for all read-only
> architecture independent *data* files".
I always figured the "read-only architecture independent" bit was the
important part there, and "code is data". Emacs's el files go into /
usr/share/emacs, for instance.
James
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic