From: James Rowe <jnrowe@gmail.com>
To: gentoo-dev <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] start-stop-daemon and python-wrapper
Date: Fri, 18 Dec 2009 22:01:16 +0000 [thread overview]
Message-ID: <1261172960-sup-2883@kate> (raw)
In-Reply-To: <20091218201619.GB6588@hrair>
[-- Attachment #1: Type: text/plain, Size: 839 bytes --]
Excerpts from Brian Harring's message of Fri Dec 18 20:16:19 +0000 2009:
> On Tue, Dec 15, 2009 at 03:54:53PM +0700, Max Arnold wrote:
> > Initially my script has "/usr/bin/env python" shebang line. When I checked actual installed
> > file, it contained "/usr/bin/python2.6". Who is responsible for this modification (eclass,
> > distutils or something else)? Why not "/usr/bin/env python2.6"?
>
> distutils. If you find a knob to disable that, I'd be interested...
> ~brian
There isn't a trigger to change this behaviour [currently].
You can monkey patch it quite easily though, if you're willing. Something
like the following pasted in to the setup.py does the trick.
import re
from distutils.command import build_scripts
build_scripts.first_line_re = re.compile("^never gonna match you up$")
--
Thanks,
James
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2009-12-18 22:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-15 8:54 [gentoo-dev] start-stop-daemon and python-wrapper Max Arnold
2009-12-18 20:16 ` Brian Harring
2009-12-18 22:01 ` James Rowe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1261172960-sup-2883@kate \
--to=jnrowe@gmail.com \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox