[sagemath] 01/01: Use /usr/bin/sage as command for Jupyter kernel.

Tobias Hansen thansen at moszumanska.debian.org
Mon Dec 5 01:27:08 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository sagemath.

commit 28f3fd44fe252a5a78e8b56d13d44ea65fd4e93b
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date:   Mon Dec 5 01:26:55 2016 +0000

    Use /usr/bin/sage as command for Jupyter kernel.
---
 debian/patches/debian-install-paths.patch | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/patches/debian-install-paths.patch b/debian/patches/debian-install-paths.patch
index a7fd953..796189b 100644
--- a/debian/patches/debian-install-paths.patch
+++ b/debian/patches/debian-install-paths.patch
@@ -191,6 +191,15 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
          dst = os.path.join(self.nbextensions_dir, 'mathjax')
          self.symlink(src, dst)
  
+@@ -134,7 +134,7 @@
+              '{connection_file}']
+         """
+         return [
+-            os.path.join(SAGE_LOCAL, 'bin', 'sage'),
++            '/usr/bin/sage',
+             '--python',
+             '-m', 'sage.repl.ipython_kernel',
+             '-f', '{connection_file}',
 --- a/sage/src/bin/sage
 +++ b/sage/src/bin/sage
 @@ -356,7 +356,7 @@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list