anaconda / nb_conda_kernels

Package for managing conda environment-based kernels inside of Jupyter
BSD 3-Clause "New" or "Revised" License
599 stars 70 forks source link

Improve the installation mechanism #182

Closed mcg1969 closed 4 years ago

mcg1969 commented 4 years ago

Even though I cannot reproduce #158 I am concerned that our recent switch to using JupyterApp instead of NotebookApp, and jupyter_config.json instead of jupyter_notebook_config.json, might be leading to issues upon upgrade or uninstall/reinstall.

To that end I've modified the code for install to do a lot of cleanup when possible, and to better interpret the config landscape. In particular, it removes any extraneous configurations using the NotebookApp class or the older file location. And when looking at the effective status, it considers all of these potential values in the global configuration directories, too.