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

Attachment: signature.asc
Description: Digital signature

Reply via email to