Sublime Forum

Build ignores shebang

#1

The build command ignores the shebang line a the top of my python file.
The shebang line has the full path to my python 3.2 isntallation :

#!/usr/local/bin/python3

However the python version being used is always 2.7.2. I’m maintaining code for both 2.7 and 3.2 and so must rely on the shebang line to be used.

Is there a way to configure the build system to look at the shebang?

1 Like