Details
-
Defect
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
Viewer 2.6.0
-
None
-
All
-
Code Review, Product Owner
-
Description
The first line of python files in the scripts folder uses 2 different forms:
#!/usr/bin/python
or
#!/usr/bin/env python
The first form doesn't work for instance in my cygwin install since I didn't install python there. The second is more flexible but requires the PATH to be specified.
I'm not advocating one vs the other really (though I do prefer the 2nd one) but I think some consistency would prevent devs to bump into unexpected problems. I'm wondering if sldev developers have any opinion on this one.
FWIW, indra/develop.py (likely the most used python script) is using the 2nd form.