Re: Set shebang line to default (instead of latest) Python 3 interpreter

2014-01-26 Thread Jakub Wilk
* Ben Finney ben+deb...@benfinney.id.au, 2014-01-26, 17:06: How can I convince ‘dh_python3’ to set the shebang to the *default* Python 3 interpreter? dh_python3 --shebang=/usr/bin/python3 (if I recall correctly) -- Jakub Wilk -- To UNSUBSCRIBE, email to

Re: Set shebang line to default (instead of latest) Python 3 interpreter

2014-01-26 Thread Ben Finney
Jakub Wilk jw...@debian.org writes: * Ben Finney ben+deb...@benfinney.id.au, 2014-01-26, 17:06: How can I convince ‘dh_python3’ to set the shebang to the *default* Python 3 interpreter? dh_python3 --shebang=/usr/bin/python3 (if I recall correctly) Thanks. So the manpage doesn't say,

Re: Set shebang line to default (instead of latest) Python 3 interpreter

2014-01-26 Thread Ben Finney
Ben Finney ben+deb...@benfinney.id.au writes: Thanks. So the manpage doesn't say, should I add that option for the “build” action? The “install” action? Some other action? Reading the source for ‘dh-python’ isn't very enlightening on this. The manpage text “call dh_python3 in the binary-*

Re: Set shebang line to default (instead of latest) Python 3 interpreter

2014-01-26 Thread Barry Warsaw
On Jan 26, 2014, at 10:19 AM, Jakub Wilk wrote: * Ben Finney ben+deb...@benfinney.id.au, 2014-01-26, 17:06: How can I convince ‘dh_python3’ to set the shebang to the *default* Python 3 interpreter? dh_python3 --shebang=/usr/bin/python3 (if I recall correctly) Should that be the default? There

Re: Set shebang line to default (instead of latest) Python 3 interpreter

2014-01-26 Thread Jakub Wilk
* Ben Finney ben+deb...@benfinney.id.au, 2014-01-26, 22:08: How can I convince ‘dh_python3’ to set the shebang to the *default* Python 3 interpreter? dh_python3 --shebang=/usr/bin/python3 (if I recall correctly) Thanks. So the manpage doesn't say, should I add that option for the “build”

Re: Set shebang line to default (instead of latest) Python 3 interpreter

2014-01-26 Thread Ben Finney
Jakub Wilk jw...@debian.org writes: You normally call dh_python3 in binary* targets. (Not sure if that's what you're asking, though...) It was, thank you. There's --exclude option that looked promising to me, but it doesn't seem to have any effect of shebang rewriting. :/ Darn. Well, that

Set shebang line to default (instead of latest) Python 3 interpreter

2014-01-25 Thread Ben Finney
Howdy all, How can I convince ‘dh_python3’ to set the shebang to the *default* Python 3 interpreter? The way the ‘dh_python3’ tool works (by default?), it will write the shebang with the full “/usr/bin/python3.X” where “3.X” is whichever version of Python was used to invoke the install. For