Commit d5a8f001 authored by marcus@bitzl.com's avatar marcus@bitzl.com

Better cython script for windows

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>
parent 7293bf0e
@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)" %*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment