Force python command in generate script
authorMathieu Baudier <mbaudier@argeo.org>
Sun, 7 Dec 2008 17:33:55 +0000 (17:33 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sun, 7 Dec 2008 17:33:55 +0000 (17:33 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@1931 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.webapp/generate.py

index 87f852f363c41ca8410fafb56e68d6b49bd1ae9f..c7b6e442b87917b863edf9e8a60898caf6722c09 100644 (file)
@@ -32,6 +32,9 @@ REAL_GENERATOR = os.path.normpath(
 #if sys.platform == "win32": #added because of issue under Linux                              \r
 #      os.chdir(os.path.dirname(sys.argv[0]))  # switch to skeleton dir\r
 \r
+if sys.platform == "win32":\r
+       CMD_PYTHON = 'target\python-win32\python'\r
+\r
 argList = []\r
 argList.append(CMD_PYTHON)\r
 argList.append(REAL_GENERATOR)\r