Multirelease effort: Moving to Python 3
Toshio Kuratomi
a.badger at gmail.com
Thu Jul 25 23:24:42 UTC 2013
On Thu, Jul 25, 2013 at 06:49:41AM -0400, Bohuslav Kabrda wrote:
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
>
> /me goes to the upstream thread to ask Nick what distutils/setuptools/etc
> do when they rewrite shebang lines.
>
> Hmm, patching setuptools to do this for us sounds interesting, although not
> everything that has /usr/bin/python uses setuptools for build, unfortunately.
>
Haven't gotten much response yet but:
http://mail.python.org/pipermail/distutils-sig/2013-July/022002.html
I think the use of sys.executable means if we use /usr/bin/python2 setup.py
instead of /usr/bin/python setup.py then we'll start to get shebang lines
with /usr/bin/python2 instead of embedded /usr/bin/python.
That will get us through many of the applications that are installed by
packages.
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130725/0119d8de/attachment-0001.sig>
More information about the devel
mailing list