Comment 3 for bug 134046

Revision history for this message
Dato Simó (dato) wrote : Re: [Bug 134046] Re: /usr/bin/bzr incorrectly uses /usr/bin/env python

> Correct. If I branch a development copy from upstream's vcs, I should
> see the /usr/bin/env line. If I install bzr using `python setup.py
> install` <wink>, it would rewrite that line to /usr/bin/python in that
> line in the installed /usr/bin/bzr. Because Ubuntu's installation
> system doesn't use setuptools, packages themselves are going to have to
> do this rewrite so that /usr/bin/bzr ends up with /usr/bin/python in the
> #! line.

The rewrite can be done by passing --executable "/usr/bin/python" to
setup.py. I changed this in the latest upload to Debian, so should be in
the next upload to Ubuntu.