On Thu, Oct 21, 2004 at 09:25:41AM +0200, Magnus Therning wrote:
> I have a silly little problem with getting Python's distutils to play
> nice with Debian packaging. The library I am packaging (PyGGy) has a few
> python files that double as executable scripts (in short they have '#!
> /usr/bin/python' at the top of the file, while still being part of a
> library, and they are executable, I am sure you know what I mean ;-).
> Distutils insists on leaving them non-executable after a './setup.py
> build'. However, since they contain that first line lintian complains
> that they are scripts, but non-executable:

[...]

> Do I leave it them the way they are, or is there a nice way of resolving
> this?

Resolve the problem by making up your mind -- are they scripts (and hence
need +x and quite possibly a home in /usr/bin) or are they library files,
and hence no #! and a -x.

- Matt

Attachment: signature.asc
Description: Digital signature

Reply via email to