Commit d624025b authored by Iliya Manolov's avatar Iliya Manolov Committed by Łukasz Nowak

jupyter: Fixed the Python2 kernel

parent e91e04e5
...@@ -12,6 +12,7 @@ extends = ...@@ -12,6 +12,7 @@ extends =
parts = parts =
jupyter jupyter
jupyter-notebook-scripts
[jupyter-env] [jupyter-env]
<= numpy-env <= numpy-env
...@@ -46,3 +47,30 @@ setup-eggs = ...@@ -46,3 +47,30 @@ setup-eggs =
${numpy:egg} ${numpy:egg}
${python-pyzmq:egg} ${python-pyzmq:egg}
${ipython:egg} ${ipython:egg}
scripts =
jupyter-kernelspec
pythonjupyter
jupyter
jupyter-trust
jupyter-nbconvert
jupyter-console
jupyter-migrate
jupyter-troubleshoot
jupyter-run
[jupyter-notebook-initialized-scripts]
recipe = zc.recipe.egg:scripts
eggs = ${jupyter:eggs}
interpreter = pythonjupyter
environment = jupyter-env
scripts =
jupyter-nbextension
jupyter-notebook
jupyter-serverextension
initialization =
# https://github.com/ipython/ipython/issues/5420
import os
os.environ['PYTHONPATH'] = ':'.join(sys.path)
...@@ -9,6 +9,7 @@ extends = ...@@ -9,6 +9,7 @@ extends =
parts = parts =
slapos-cookbook slapos-cookbook
jupyter jupyter
jupyter-notebook-initialized-scripts
instance-jupyter-notebook instance-jupyter-notebook
[jupyter] [jupyter]
......
...@@ -12,6 +12,7 @@ parts += ...@@ -12,6 +12,7 @@ parts +=
ipython ipython
wendelin.core wendelin.core
jupyter jupyter
jupyter-notebook-initialized-scripts
wendelin_test_suite_runner wendelin_test_suite_runner
wendelin_testrunner wendelin_testrunner
......
...@@ -140,6 +140,7 @@ parts += ...@@ -140,6 +140,7 @@ parts +=
# jupyter # jupyter
jupyter jupyter
jupyter-notebook-initialized-scripts
instance-jupyter-notebook instance-jupyter-notebook
# override python2.7 to add SlapOS libstdc++ in RPATH. # override python2.7 to add SlapOS libstdc++ in RPATH.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment