Starting Cython from Windows PowerShell? with
cython.py <arguments>
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 <arguments>
Therefore, i wrote a simple batch file that does fairly the same as cython.py and allows you to start cython simply via
cython <arguments>
--- /dev/null
+@REM Start cython from windows commandline as "cython", not "cython.py".\r
+@REM This is especially useful for windows power shell, as no extra window\r
+@REM is used.\r
+\r
+@echo OFF\r
+python -c "from Cython.Compiler.Main import main; main(command_line = 1)" %*\r