[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pybuild (Re: image-file-in-usr-lib)



On 05/11/2015 09:03 AM, Ole Streicher wrote:
> Ben Finney <ben+debian@benfinney.id.au> writes:
>> Ole Streicher <olebole@debian.org> writes:
>> Installing the non-program files to ‘/usr/share/foopackage/images/’ (for
>> example) is simple enough, using ‘dh_install’.
> 
> I am using pybuild, and I am wondering why it doesn't do this
> automatically (maybe with some help)?
> 
> Generally: pybuild seem to install all files into /usr/lib/? As far as I
> understand the FHS [1], architecture independent files should go to
> /usr/share. But, almost all python files (except maybe compiled .so
> extensions) are architecture independent?
> 
> * .py sources
> * .pyc bytecode
> * .egg-info

The FHS never talks about putting *code* into /usr/share. So pybuild is right
from my point of view to put it in /usr/lib.


Reply to: