From 6e69334a30a164efcd2ff4ae9e1d9b027dbd411e Mon Sep 17 00:00:00 2001 From: Scott Draves Date: Sat, 19 Aug 2017 21:23:32 -0400 Subject: [PATCH] workaround #5864 --- beakerx/beakerx/install.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/beakerx/beakerx/install.py b/beakerx/beakerx/install.py index 24ba1a1f6d..4b80e11044 100644 --- a/beakerx/beakerx/install.py +++ b/beakerx/beakerx/install.py @@ -64,7 +64,10 @@ def _install_kernels(): for kernel in _all_kernels(): kernel_classpath = _classpath_for(kernel) classpath = os.pathsep.join([base_classpath, kernel_classpath]) - # TODO: replace with string.Template, though this requires the + # workaround #5864 + if sys.platform == 'win32': + classpath = classpath.replace('\\', '/') + # #5859: replace with string.Template, though this requires the # developer install to change too, so not doing right now. template = pkg_resources.resource_string( 'beakerx', os.path.join('static', 'kernel', kernel, 'kernel.json'))