From f4cbcf29f394fb31df208cb7246614b5fa6ac442 Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Wed, 3 Feb 2016 00:26:16 +0000 Subject: [PATCH] BLD: use default encoding --- skimage/_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/_build.py b/skimage/_build.py index e270c4d5..c5041340 100644 --- a/skimage/_build.py +++ b/skimage/_build.py @@ -86,7 +86,7 @@ def process_tempita_pyx(fromfile): raise Exception('Building requires Tempita: ' 'pip install --user Tempita') from_filename = tempita.Template.from_filename - template = from_filename(fromfile) #, encoding=sys.getdefaultencoding()) + template = from_filename(fromfile, encoding=sys.getdefaultencoding()) pyxcontent = template.substitute() assert fromfile.endswith('.pyx.in') pyxfile = fromfile[:-len('.pyx.in')] + '.pyx'