mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
cast unicode to allow json dump
This commit is contained in:
parent
d71cdbd233
commit
be4b180b03
@ -579,7 +579,7 @@ def git_prebuild(pkg_dir, build_cmd=build_py):
|
|||||||
with open(out_pth, 'w') as out_file:
|
with open(out_pth, 'w') as out_file:
|
||||||
out_file.writelines([
|
out_file.writelines([
|
||||||
'# GENERATED BY setup.py\n',
|
'# GENERATED BY setup.py\n',
|
||||||
'commit = "%s"\n' % repo_commit,
|
'commit = u"%s"\n' % repo_commit,
|
||||||
])
|
])
|
||||||
return require_submodules(MyBuildPy)
|
return require_submodules(MyBuildPy)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user