Created
September 5, 2011 17:43
-
-
Save alfredodeza/1195540 to your computer and use it in GitHub Desktop.
Trying to get a konira executable for MS win
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem Windows Driver script for Konira | |
setlocal | |
rem Use a full path to Python (relative to this script) as the standard Python | |
rem install does not put python.exe on the PATH... | |
rem %~dp0 is the directory of this script | |
python "%~dp0konira" %* | |
endlocal |
I've updated the gist with your comments and I am ready to make a release, can you confirm this updated version is OK?
Tested and workd as expected. Thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This concept works with the following caveats:
WRT 1 above, I'd just call python and leave it at that. I think mercurial had to do that since they expect it (hg) to be installed globally and without necessarily having the python exe on the PATH.
So the line becomes