Browse files

Better cython script for windows

Starting Cython from Windows PowerShell? with <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\ <arguments>

Therefore, i wrote a simple batch file that does fairly the same as and allows you to start cython simply via

cython <arguments>
  • Loading branch information... committed Aug 3, 2008
1 parent 7293bf0 commit d5a8f0014e61bc34fd5852f86e2f96e4764a619d
Showing with 6 additions and 0 deletions.
  1. +6 −0 bin/cython.bat
@@ -0,0 +1,6 @@
+@REM Start cython from windows commandline as "cython", not "".
+@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)" %*

0 comments on commit d5a8f00

Please sign in to comment.