[Build-common-hackers] Bug#587373: Bug#587373: cdbs: python-distutils.mk: Installs scripts with a versioned shebang
Jonas Smedegaard
dr at jones.dk
Mon Jun 28 07:21:57 UTC 2010
On Mon, Jun 28, 2010 at 01:07:15AM +0200, Stefano Rivera wrote:
>Hi, as part of the Python 2.6 transition, I've been digging through the
>packages that depend on python2.5. An awful lot of them do so because
>they install scripts with a shebang of the form:
>
>| #!/usr/bin/python2.5
>
>dh works around this by building with the versioned python interpretors
>first, and then the default /usr/bin/python
>http://git.debian.org/?p=debhelper/debhelper.git;a=blob;f=Debian/Debhelper/Buildsystem/python_distutils.pm#l111
>
>However distutils provides a way to force a particular shebang:
>--executable
Interesting!
Would you happen to know if that option is new or we can safely use this
also for e.g. backports?
Would it perhaps be better to always pass this option, also for specific
versions of Python?
Kind regards,
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20100628/863d1efa/attachment.pgp>
More information about the Build-common-hackers
mailing list