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:
Evgeni Burovski
2016-02-22 15:01:03 +00:00
parent fc70f73064
commit 926af0ff53
+1 -1
View File
@@ -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)