[Starlingx-discuss] #! /usr/bin/env usage in python files

Jeremy Stanley fungi at yuggoth.org
Wed Jun 12 17:17:36 UTC 2019


On 2019-06-12 11:25:56 -0500 (-0500), Dean Troyer wrote:
[...]
> Outside of a distro context the biggest reason I do that (use
> #!/usr/bin/env) is to make using virtual environments easier.  I do
> not think that is a large concern here, the first place I could see it
> coming up is running in DevStack with virtual envs enabled, which is
> not as much of a thing as it should be and probably doesn't work now
> anyway.

And for anything being installed as a proper Python package with
entrypoint wrappers, those will get appropriate shebangs for the
virtualenv/venv set in them anyway.
-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20190612/dab55796/attachment.sig>


More information about the Starlingx-discuss mailing list