From d97b5704776fc82550eb6932e7222d697837de48 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 25 Apr 2008 18:05:33 +0200 Subject: [PATCH] let Cython compile .py files without complaining about their file extension --- Cython/Compiler/CmdLine.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py index 05a607a4..2c2a6d4f 100644 --- a/Cython/Compiler/CmdLine.py +++ b/Cython/Compiler/CmdLine.py @@ -129,6 +129,9 @@ def parse_command_line(args): arg = pop_arg() if arg.endswith(".pyx"): sources.append(arg) + elif arg.endswith(".py"): + # maybe do some other stuff, but this should work for now + sources.append(arg) elif arg.endswith(".o"): options.objects.append(arg) else: -- 2.26.2