From 926af0ff53a1f1eef9ed8e267a140e9e0b2e3098 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Mon, 22 Feb 2016 15:01:03 +0000 Subject: [PATCH] BUG: fix the conversion from .pyx.in to .pyx files It got botched sometime around reviewing/merging/rebasing of gh-1924 --- skimage/_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/_build.py b/skimage/_build.py index a091dd1e..f5db582d 100644 --- a/skimage/_build.py +++ b/skimage/_build.py @@ -91,6 +91,6 @@ def process_tempita_pyx(fromfile): if not fromfile.endswith('.pyx.in'): raise ValueError("Unexpected extension of %s." % fromfile) - pyxfile = os.path.splitext(fromfile)[0] + '.pyx' + pyxfile = os.path.splitext(fromfile)[0] # split off the .in ending with open(pyxfile, "w") as f: f.write(pyxcontent)