Message265343
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: https://bugzilla.redhat.com/show_bug.cgi?id=1335203
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:10 | opoplawski | set | recipients:
+ opoplawski, eric.araujo, dstufft |
2016-05-11 19:39:10 | opoplawski | set | messageid: <1462995550.58.0.0858558226193.issue27004@psf.upfronthosting.co.za> |
2016-05-11 19:39:10 | opoplawski | link | issue27004 messages |
2016-05-11 19:39:10 | opoplawski | create | |
|