How to find where data files are installed for my Python program

Ian Kelly ian.g.kelly at gmail.com
Sun Oct 27 11:50:24 EDT 2013


On Sun, Oct 27, 2013 at 1:58 AM, Gregory Ewing
<greg.ewing at canterbury.ac.nz> wrote:
> Ben Finney wrote:
>>
>> On systems conforming to the Filesystem Hierarchy Standard, it's
>> forbidden: programs go in a platform-specific location
>>
>> <URL:http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#USRLIBLIBRARIESFORPROGRAMMINGANDPA>,
>> while platform-independent data files go in a separate location
>>
>> <URL:http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA>.
>
>
> But Python code itself is platform-independent, so it
> should count as data for the purposes of the FHS,
> shouldn't it?

I don't see why Python files should be treated any differently than
other non-binary executables, e.g. shell scripts.



More information about the Python-list mailing list