We may want to move the existing dictionaries (especially the heavier ones) into separate sub-packages e.g. jupyterlab-spellchecker-de_AT (each German dictionary weighs 4.4 MB). After #74 this becomes trivial as we only need to place the dictionary in the jupyter/dictionaries directory. We should create a helper function in jupyterlab-spellchecker that will use jupyter_packaging to place the dictionary where needed and import that function in setup.py (which will be the only file except for dictionaries) of the sub-packages.
Finally we could also create alias packages e.g. jupyterlab-spellchecker-german collecting:
We may want to move the existing dictionaries (especially the heavier ones) into separate sub-packages e.g.
jupyterlab-spellchecker-de_AT
(each German dictionary weighs 4.4 MB). After #74 this becomes trivial as we only need to place the dictionary in thejupyter/dictionaries
directory. We should create a helper function injupyterlab-spellchecker
that will usejupyter_packaging
to place the dictionary where needed and import that function insetup.py
(which will be the only file except for dictionaries) of the sub-packages.Finally we could also create alias packages e.g.
jupyterlab-spellchecker-german
collecting:jupyterlab-spellchecker-de_AT
,jupyterlab-spellchecker-de_CH
, andjupyterlab-spellchecker-de_DE
.