Closed GoogleCodeExporter closed 9 years ago
The shebang line in the original ck2cti script is just:
#!/usr/bin/env python
Which, according to https://docs.python.org/3/using/windows.html#shebang-lines
is supposed to be interpreted as meaning the default Python installation on
Windows. But distutils decides to do some magic and replace that with the
absolute path to the Python interpreter on the system I used to build the
binaries.
There are some suggestions in this StackOverflow thread for how to make it not
do that, though I'm not sure if they work, or have any unwanted side effects.
http://stackoverflow.com/questions/1530702/dont-touch-my-shebang
Original comment by yarmond
on 22 Dec 2014 at 10:20
Thanks Ray, glad to know that's why I couldn't find it in the source. It seems
like if you set the --executable option to be equal to what is already in the
script, it should solve the problem there, but whether it would introduce
problems elsewhere is, as you say, unclear.
Bryan
Original comment by bryan.w....@gmail.com
on 23 Dec 2014 at 6:35
This issue was closed by revision r3355.
Original comment by yarmond
on 6 Jan 2015 at 11:37
Original issue reported on code.google.com by
bryan.w....@gmail.com
on 22 Dec 2014 at 9:12