Closed jamesfwood closed 4 years ago
For our operations scripts, I've been going with #!/usr/bin/env python
vs #!/usr/bin/python3
and assuming that it's up to the user to ensure that they have created an environment where python
is a 3.x version. This may be a little more flexible because we run these scripts in Centos 7, and OSX, and maybe elsewhere where /usr/bin/python3
may not be what I want to be used.
Cumulus doesn't play nice and forcibly sets the python link against the will of the user and the OS. So I think it is better to explicitly reference python3.
Then perhaps #!/usr/bin/env python3
? Which I do see in a number of the python files already.
Yes
Should update all python programs to python3. Passing all tests