projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25770a8
)
let Cython compile .py files without complaining about their file extension
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 25 Apr 2008 16:05:33 +0000
(18:05 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 25 Apr 2008 16:05:33 +0000
(18:05 +0200)
Cython/Compiler/CmdLine.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/CmdLine.py
b/Cython/Compiler/CmdLine.py
index 05a607a4a3e4a5b400ddede0320e912a52ccb1e5..2c2a6d4f9b366d96cf94fd39d12bc61fd94620e2 100644
(file)
--- 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: