[openstack-dev] [all] setup.py executable bit

Ian Cordasco ian.cordasco at RACKSPACE.COM
Wed Jun 17 19:24:02 UTC 2015



On 6/17/15, 13:53, "Jeremy Stanley" <fungi at yuggoth.org> wrote:

>On 2015-06-17 14:47:48 -0400 (-0400), Doug Hellmann wrote:
>> +1 both to using -x and to removing the shebang.
>
>Agreed. We don't want anyone directly invoking this file as an
>executable script in PBR-based packages, so I'm strongly in favor of
>anything we can do to actively discourage that.
>-- 
>Jeremy Stanley

Agreed as well. Most places advocate using python setup.py [command]
[command] so using -x and removing the shebang makes perfect sense to me.



More information about the OpenStack-dev mailing list