This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author opoplawski
Recipients dstufft, eric.araujo, opoplawski
Date 2016-05-11.19:39:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 build --executable '/usr/bin/python2 -s'

However, as reported here:

this breaks scripts that already have options in them as the options are tacked onto the end, e.g.:

#!/usr/bin/python2 -s -E

Which linux doesn't handle.

It seems we have a couple options:

- Replace the entire shbang line with the argument to --executable
- Try to merge options into a single one (-sE)
- Have a separate option, say --executable-args to specify the options.  Although the question still remains as to whether or not to replace the existing option or append.
Date User Action Args
2016-05-11 19:39:10opoplawskisetrecipients: + opoplawski, eric.araujo, dstufft
2016-05-11 19:39:10opoplawskisetmessageid: <>
2016-05-11 19:39:10opoplawskilinkissue27004 messages
2016-05-11 19:39:10opoplawskicreate