#!/usr/bin/env python
from sys import executable
print executable
Make sure the file is executable on *NIX world and that there is a .py file association on Microsoft land.
Then in the makefile just write
PYTHON = $(shell pyexe.py)
If it won't be simple, it simply won't be. [Hire me, source code] by Miki Tebeka, CEO, 353Solutions
#!/usr/bin/env python
from sys import executable
print executable
PYTHON = $(shell pyexe.py)
No comments:
Post a Comment