From e31090d23805834f5b773f7ccf81f6afaab0d4b0 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 6 Oct 2009 09:22:46 +0200 Subject: [PATCH] support .py extension in cython_freeze --- bin/cython_freeze.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/cython_freeze.py b/bin/cython_freeze.py index 184c4a89..a8c9448f 100644 --- 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:]] -- 2.26.2