projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6661c7
)
support .py extension in cython_freeze
author
Stefan Behnel
<scoder@users.berlios.de>
Tue, 6 Oct 2009 07:22:46 +0000
(09:22 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Tue, 6 Oct 2009 07:22:46 +0000
(09:22 +0200)
bin/cython_freeze.py
patch
|
blob
|
history
diff --git
a/bin/cython_freeze.py
b/bin/cython_freeze.py
index 184c4a89ea406df38a8fc59b2e2158c6c2106999..a8c9448f84a1d2ab7b1355c46455ee230c16a22d 100644
(file)
--- a/
bin/cython_freeze.py
+++ b/
bin/cython_freeze.py
@@
-15,6
+15,8
@@
if len(sys.argv) < 2:
def format_modname(name):
if name.endswith('.pyx'):
name = name[:-4]
+ elif name.endswith('.py'):
+ name = name[:-3]
return name.replace('.','_')
modules = [format_modname(x) for x in sys.argv[1:]]