From d5a8f0014e61bc34fd5852f86e2f96e4764a619d Mon Sep 17 00:00:00 2001 From: "marcus@bitzl.com" Date: Sat, 2 Aug 2008 22:44:42 -0700 Subject: [PATCH] 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 --- bin/cython.bat | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 bin/cython.bat 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)" %* -- 2.26.2