Skip to content

Commit b28f3f7

Browse files
authored
Merge branch 'takluyver:master' into bash_kernel_on_binder
2 parents 6d9d1a1 + fe784fd commit b28f3f7

File tree

2 files changed

+18
-11
lines changed

2 files changed

+18
-11
lines changed

bash_kernel/kernel.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import re
99
import signal
1010

11-
__version__ = '0.7.2'
11+
__version__ = '0.8.0'
1212

1313
version_pat = re.compile(r'version (\d+(\.\d+)+)')
1414

@@ -105,9 +105,12 @@ def _start_bash(self):
105105
finally:
106106
signal.signal(signal.SIGINT, sig)
107107

108+
# Disable bracketed paste (see <https://github.com/takluyver/bash_kernel/issues/117>)
109+
self.bashwrapper.run_command("bind 'set enable-bracketed-paste off' >/dev/null 2>&1 || true")
108110
# Register Bash function to write image data to temporary file
109111
self.bashwrapper.run_command(image_setup_cmd)
110112

113+
111114
def process_output(self, output):
112115
if not self.silent:
113116
image_filenames, output = extract_image_filenames(output)

pyproject.toml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
[build-system]
2-
requires = ["flit"]
3-
build-backend = "flit.buildapi"
2+
requires = ["flit_core >=3.2,<4"]
3+
build-backend = "flit_core.buildapi"
44

5-
[tool.flit.metadata]
6-
module = "bash_kernel"
7-
author = "Thomas Kluyver"
8-
author-email = "thomas@kluyver.me.uk"
9-
home-page = "https://github.com/takluyver/bash_kernel"
10-
requires = ["pexpect (>=4.0)"]
11-
description-file = "README.rst"
5+
[project]
6+
name = "bash_kernel"
7+
authors = [
8+
{name = "Thomas Kluyver", email = "thomas@kluyver.me.uk"},
9+
]
10+
readme = "README.rst"
11+
dependencies = ["pexpect (>=4.0)", "ipykernel"]
1212
classifiers = [
13-
"Framework :: IPython",
13+
"Framework :: Jupyter",
1414
"License :: OSI Approved :: BSD License",
1515
"Programming Language :: Python :: 3",
1616
"Topic :: System :: Shells",
1717
]
18+
dynamic = ["version", "description"]
19+
20+
[project.urls]
21+
Source = "https://github.com/takluyver/bash_kernel"
1822

0 commit comments

Comments
 (0)