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

Re: image-file-in-usr-lib



That or symlink them in from /usr/share ;)

On May 10, 2015 7:43 PM, "Ben Finney" <ben+debian@benfinney.id.au> wrote:
Ole Streicher <olebole@debian.org> writes:

> some of the package I maintain (namely python-astropy), or want to
> package, contain images within their python source directories. When
> installed using the normal setup, these images get installed in
> /usr/lib, leading to the lintian warning shown in the subject.
>
> Is there a simple way to avoid this?

The code is probably expecting the files to be in that location. It will
need to be patched to expect the files in a more appropriate location.

Installing the non-program files to ‘/usr/share/foopackage/images/’ (for
example) is simple enough, using ‘dh_install’.

--
 \         “Alternative explanations are always welcome in science, if |
  `\   they are better and explain more. Alternative explanations that |
_o__) explain nothing are not welcome.” —Victor J. Stenger, 2001-11-05 |
Ben Finney


--
To UNSUBSCRIBE, email to debian-python-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 858ucwatig.fsf@benfinney.id.au" target="_blank">https://lists.debian.org/[🔎] 858ucwatig.fsf@benfinney.id.au


Reply to: