[Python-apps-team] Bug#577143: cython: #!/usr/bin/python2.6 shebang

Stefano Rivera stefanor at debian.org
Sun Apr 24 20:24:15 UTC 2011


retitle 577143 cython: #!/usr/bin/python2.7 shebang
severity 577143 serious
tag 577143 + patch
thanks

Hi Lauro (2010.05.25_16:50:09_+0200)

This suddenly got a lot more serious because cython's binnmu migrated to
testing before python-support, and thus cython in testing is trying to
run with a version of python that's unsupported.

> "--executable=<path to unversioned python>"

Doesn't work for this setup.py.

However the following will work:

# Fix shebang:
binary-fixup/cython::
	sed -i -e '1 s,#!.*python.*,#! /usr/bin/python,' debian/cython/usr/bin/*

I was tempted to team upload, but I see 0.14.1-5 wasn't committed to the
PAPT repo. Please commit and tag :)

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127





More information about the Python-apps-team mailing list