Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: obs_decam, obs_lsstSim, obs_test, pipe_tasks
-
Labels:
-
Story Points:0.25
-
Epic Link:
-
Sprint:AP S18-6
Description
The #!/usr/bin/env python2 shebang is present in several scripts in bin.src directories especially in obs_lsstSim but also in pipe_tasks exampleCmdLineTask.
The rewrite_shebang function does not actually rewrite the shebang on Linux because needShebangRewrite() can only return True on OSX
This issue is still present in v15_0 and all the weeklies up to w_2018_14. This is inconvenient for IN2P3 since we only install the LSST software stack to be used with Python 3.
This is what I get with a deployed version of v15.0 on Linux:
$ cd $LSST_HOME/stack/current/Linux64/obs_lsstSim/15.0/bin
$ head -1 *
==> extractPhosimGainSaturation.py <==
#!/usr/bin/env python2
==> genDefectRegistry.py <==
#!/usr/bin/env python2
==> genInputRegistry.py <==
#!/usr/bin/env python2
==> ingestSimImages.py <==
#!/usr/bin/env python
==> makeDefectMaps.py <==
#!/usr/bin/env python2
==> makeLsstCameraRepository.py <==
#!/usr/bin/env python2
==> processCalibLsstSim.py <==
#!/usr/bin/env python2
==> processEimage.py <==
#!/usr/bin/env python2