[issue27004] Handle script shbang options

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If

[issue27004] Handle script shbang options

2018-12-10 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27004] Handle script shbang options

2018-12-09 Thread Miro Hrončok
Miro Hrončok added the comment: As a distro Python maintainer, I have to say that having yet another Python executable would no be accepted well by the other distro contributors or even users. I'll try to work on a proper solution that would merge the options, hopefully soon (but most

[issue27004] Handle script shbang options

2016-05-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yet one option: - Add a wrapper /usr/bin/python2-s and pass it to to --executable. $ cat /usr/bin/python2-s #!/bin/sh exec /usr/bin/python2 -s "$@" -- nosy: +serhiy.storchaka ___ Python tracker

[issue27004] Handle script shbang options

2016-05-11 Thread Orion Poplawski
New submission from Orion Poplawski: Fedora would like to enforce that python scripts installed into /usr/bin use the "-s" option. We have tried to enforce this by doing: python setup.py build --executable '/usr/bin/python2 -s' However, as reported here: