mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-08 09:51:14 +08:00
BLD: use default encoding
This commit is contained in:
+1
-1
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user