mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-25 13:30:51 +08:00
BUG: fix the conversion from .pyx.in to .pyx files
It got botched sometime around reviewing/merging/rebasing of gh-1924
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user