- 
                Notifications
    You must be signed in to change notification settings 
- Fork 80
Open
Labels
not-a-bugThings work as designedThings work as designedquestionFurther information is requestedFurther information is requested
Description
We currently install the Jupyter kernel spec via
kernel_dir = get_option('datadir') / 'share/jupyter/kernels/sagemath'
install_data('ext_data/notebook-ipython/logo.svg', install_dir: kernel_dir)
install_data('ext_data/notebook-ipython/logo-64x64.png', install_dir: kernel_dir)
kernel_data = configuration_data()
kernel_data.set('SAGE_VERSION', meson.project_version())
configure_file(
  input: 'ext_data/notebook-ipython/kernel.json.in',
  output: 'kernel.json',
  install_dir: kernel_dir,
  install: true,
  configuration: kernel_data,
)
This works fine in a "normal" installation. But if you use an editable install, the kernelspec is not created in the python prefix and thus Jupyter cannot find the kernel.
What's the correct way to "install" such data files in editable mode?
Metadata
Metadata
Assignees
Labels
not-a-bugThings work as designedThings work as designedquestionFurther information is requestedFurther information is requested