buildout.cfg 1.5 KB
[buildout]
extends =
  ../numpy/openblas.cfg
  ../matplotlib/buildout.cfg
  ../ipython/buildout.cfg
  ../python-pyzmq/buildout.cfg
  ../python-2.7/buildout.cfg
  ../scipy/buildout.cfg
  ../scikit-learn/buildout.cfg
  ../pandas/buildout.cfg
  ../seaborn/buildout.cfg
  ../h5py/buildout.cfg

parts =
  jupyter
  jupyter-notebook-scripts

[jupyter-env]
<= numpy-env

[jupyter]
recipe = zc.recipe.egg:scripts
eggs =
# jupter base egg
  jupyter
# explicit eggs to generate scripts from them
  jupyter_client
  jupyter_console
  jupyter_core
  nbconvert
  nbformat
  notebook
# additional eggs
  requests
  astor
  ${matplotlib:egg}
  ${scipy:egg}
  ${pandas:egg}
  ${scikit-learn:egg}
  ${seaborn:egg}
  ${statsmodels:egg}
  patsy
  ${h5py:egg}
  openpyxl
  sympy
  xlrd
# additional eggs for jupyterlab
  jupyterlab
  jupyterlab-launcher

interpreter = pythonjupyter

environment = jupyter-env
setup-eggs =
  ${numpy:egg}
  ${python-pyzmq: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
  jupyter-lab
  jupyter-labextension
  jupyter-labhub

initialization =
  # https://github.com/ipython/ipython/issues/5420
  import os
  os.environ['PYTHONPATH'] = ':'.join(sys.path)