Skip to content

Commit

Permalink
Merge pull request #25 from shiroinekotfs/1.0.0a6.hotfix
Browse files Browse the repository at this point in the history
Update version 1.0.0a7
  • Loading branch information
shiroinekotfs authored Feb 2, 2024
2 parents dd2abb9 + 7f2de18 commit 26b3920
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions jupyter-cpp-kernel/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class CPPKernel(Kernel):
'file_extension': '.cpp'
}

introduction = "C++ 14 kernel for Jupyter (master), version 1.0.0a6\n\n"
introduction = "C++ 14 kernel for Jupyter (master), version 1.0.0a7\n\n"
cp_banner = "Copyright (C) 2024 shiroinekotfs\nCopyright (C) Brendan Rius\nCopyright (C) Free Software Foundation, Inc\n\n"
links_guide = "Legal information: https://github.com/shiroinekotfs/jupyter-cpp-kernel/blob/master/LICENSE\nNotebook tutorial: https://github.com/shiroinekotfs/jupyter-cpp-kernel-doc\n\nAuthor GitHub profile: https://github.com/shiroinekotfs\n"
reporting_links = "Reporting the issue: https://github.com/shiroinekotfs/jupyter-cpp-kernel/issues"
Expand Down Expand Up @@ -136,7 +136,10 @@ def new_temp_file(self, **kwargs):
return file

def _write_to_stdout(self, contents):
contents = contents.replace("\r\n", "\r\n\r\n")
if os.name == 'nt':
contents = contents.replace("\r\n", "\r\n\r\n")
else:
contents = contents.replace("\n", "\n\n")
self.send_response(self.iopub_socket,
'display_data',
{
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
description-file = README.md
name = jupyter-cpp-kernel
version = 1.0.0a6
version = 1.0.0a7
author = shiroinekotfs (ft. Brendan Rius)
author_email = [email protected]
description = C++ kernel for Jupyter. Easily adopt and deploy for testing environment.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup

setup(name='jupyter-cpp-kernel',
version='1.0.0a6',
version='1.0.0a7',
description='C++ 14 kernel for Jupyter',
author='shiroinekotfs',
author_email='[email protected]',
Expand Down

0 comments on commit 26b3920

Please sign in to comment.