Commit d97b5704 authored by Stefan Behnel's avatar Stefan Behnel

let Cython compile .py files without complaining about their file extension

parent 25770a89
......@@ -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:
......
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