Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #25546: Install Jupyter kernel in the correct prefix
The Sage Jupyter kernel is unconditionally installed in `sys.prefix`. However, this should instead be the `install_data` directory. This defaults to the installation prefix, which in turn defaults to `sys.prefix`. So the default won't change, but it allows customization. The reason for choosing `install_data` is to be compatible with other Jupyter packages, which use the `data_files` option to `setup()` for installing Jupyter files (see for example https://github.com/jupyter- widgets/ipywidgets/blob/master/widgetsnbextension/setup.py#L203). Those files are installed in the `install_data` directory. URL: https://trac.sagemath.org/25546 Reported by: jdemeyer Ticket author(s): Jeroen Demeyer Reviewer(s): Vincent Klein
- Loading branch information
Showing
2 changed files
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters