File tree Expand file tree Collapse file tree 4 files changed +9
-4
lines changed
ext_data/notebook-ipython
subprojects/packagefiles/mpfi Expand file tree Collapse file tree 4 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -555,6 +555,11 @@ AC_CONFIG_FILES([src/bin/sage-env-config src/bin/sage-src-env-config build/bin/s
555
555
556
556
AC_CONFIG_FILES ( [ pkgs/sage-conf/_sage_conf/_conf.py] )
557
557
558
+ # install jupyter kernel data
559
+ AC_CONFIG_FILES ( [ $SAGE_LOCAL/share/notebook/kernel.json:src/sage/ext_data/notebook-ipython/kernel.json.in]
560
+ [ $SAGE_LOCAL/share/notebook/logo.svg:src/sage/ext_data/notebook-ipython/logo.svg]
561
+ [ $SAGE_LOCAL/share/notebook/logo-64x64.png:src/sage/ext_data/notebook-ipython/logo-64x64.png] )
562
+
558
563
dnl Create basic directories needed for Sage
559
564
AC_CONFIG_COMMANDS ( mkdirs ,
560
565
[
Original file line number Diff line number Diff line change 6
6
"-f",
7
7
"{connection_file}"
8
8
],
9
- "display_name": "SageMath @SAGE_VERSION @",
9
+ "display_name": "SageMath @PACKAGE_VERSION @",
10
10
"language": "sage"
11
11
}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ sage_install_dir = py.get_install_dir() / 'sage'
2
2
3
3
# Generate the configuration file
4
4
conf_data = configuration_data ()
5
- conf_data.set(' PACKAGE_VERSION ' , ' 1.2.3' )
5
+ conf_data.set(' SAGE_MESON_PKG_VERSION ' , ' 1.2.3' )
6
6
# We use Python's prefix here to make it work with conda
7
7
prefix = fs.as_posix(py.get_variable (' prefix' , '' ))
8
8
conf_data.set(' prefix' , prefix)
@@ -144,7 +144,7 @@ kernel_dir = get_option('datadir') / 'share/jupyter/kernels/sagemath'
144
144
install_data (' ext_data/notebook-ipython/logo.svg' , install_dir : kernel_dir)
145
145
install_data (' ext_data/notebook-ipython/logo-64x64.png' , install_dir : kernel_dir)
146
146
kernel_data = configuration_data ()
147
- kernel_data.set(' SAGE_VERSION ' , meson .project_version())
147
+ kernel_data.set(' PACKAGE_VERSION ' , meson .project_version())
148
148
configure_file (
149
149
input : ' ext_data/notebook-ipython/kernel.json.in' ,
150
150
output : ' kernel.json' ,
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ mpfr = dependency('mpfr', version: '>= 4.0.1')
12
12
13
13
# Configuration data
14
14
conf = configuration_data ()
15
- conf.set(' PACKAGE_VERSION ' , ' "' + meson .project_version() + ' "' )
15
+ conf.set(' SAGE_MESON_PKG_VERSION ' , ' "' + meson .project_version() + ' "' )
16
16
# Check for functions
17
17
conf.set(' HAVE_DUP2' , c.has_function(' dup2' ) ? 1 : 0 )
18
18
conf.set(' HAVE_GETTIMEOFDAY' , c.has_function(' gettimeofday' ) ? 1 : 0 )
You can’t perform that action at this time.
0 commit comments