17 Aug
2012
17 Aug
'12
10:44 p.m.
Ben Booth wrote:
Damjan wrote:
The only problem with this approach is that /usr/bin/python is owned by the python package, so if you upgrade the python package it might create problems. Any one know of some way to work around this problem?
Just put your script in /usr/local/bin
But then some scripts use #!/usr/bin/python. Putting it in /usr/local/bin would only work if the script uses #!/usr/local/bin/python or #!/usr/bin/env python.
Maybe I'll submit a feature request to the python package maintainer to see if they think it's a good idea.