summaryrefslogtreecommitdiff
path: root/libre/sagemath/jupyter-path.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-05-26 17:57:04 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-05-26 17:57:04 -0500
commitd5388c48f362b3f79053d1ba86de2ff197a4dd81 (patch)
treef555a20d2f544349fd42320a8605c9a640b9c9bc /libre/sagemath/jupyter-path.patch
parente978b1e8a3df5a0825292157c3ba1ce369883195 (diff)
downloadabslibre-d5388c48f362b3f79053d1ba86de2ff197a4dd81.tar.gz
abslibre-d5388c48f362b3f79053d1ba86de2ff197a4dd81.tar.bz2
abslibre-d5388c48f362b3f79053d1ba86de2ff197a4dd81.zip
Removing sagemath: This package is in [community] repo
Diffstat (limited to 'libre/sagemath/jupyter-path.patch')
-rw-r--r--libre/sagemath/jupyter-path.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/libre/sagemath/jupyter-path.patch b/libre/sagemath/jupyter-path.patch
deleted file mode 100644
index 3eec99a89..000000000
--- a/libre/sagemath/jupyter-path.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- src/sage/repl/ipython_kernel/install.py.orig 2015-10-23 19:23:39.728456590 +0000
-+++ src/sage/repl/ipython_kernel/install.py 2015-10-23 19:24:00.965018978 +0000
-@@ -13,8 +13,7 @@
- SAGE_ROOT, SAGE_DOC, SAGE_LOCAL, SAGE_EXTCODE,
- SAGE_VERSION
- )
--from jupyter_core.paths import ENV_JUPYTER_PATH
--JUPYTER_PATH = ENV_JUPYTER_PATH[0]
-+JUPYTER_PATH = os.environ.get('JUPYTER_PATH')
-
- class SageKernelSpec(object):
-
-@@ -208,7 +208,7 @@
- sage: spec._symlink_resources() # not tested
- """
- path = os.path.join(SAGE_EXTCODE, 'notebook-ipython')
-- for filename in os.listdir(path):
-+ for filename in os.listdir('ext/notebook-ipython'):
- self.symlink(
- os.path.join(path, filename),
- os.path.join(self.kernel_dir, filename)
-