Re: Multirelease effort: Moving to Python 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpG8fIyyHcce.pgp
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux