From: marcus@bitzl.com Date: Sun, 3 Aug 2008 05:44:42 +0000 (-0700) Subject: Better cython script for windows X-Git-Tag: 0.9.8.1~97 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d5a8f0014e61bc34fd5852f86e2f96e4764a619d;p=cython.git Better cython script for windows Starting Cython from Windows PowerShell? with cython.py yields a new console window with Cython output, which closes immedeately after Cython finished. To get Cython's output one would always have to write something like python C:\Python25\Scripts\cython.py Therefore, i wrote a simple batch file that does fairly the same as cython.py and allows you to start cython simply via cython --- diff --git a/bin/cython.bat b/bin/cython.bat new file mode 100644 index 00000000..13690f08 --- /dev/null +++ b/bin/cython.bat @@ -0,0 +1,6 @@ +@REM Start cython from windows commandline as "cython", not "cython.py". +@REM This is especially useful for windows power shell, as no extra window +@REM is used. + +@echo OFF +python -c "from Cython.Compiler.Main import main; main(command_line = 1)" %*