Skip to content

Commit

Permalink
configure.ac: disable webencodings,tinycss2 with --disable-notebook
Browse files Browse the repository at this point in the history
The --disable-notebook flag disables the bleach and nbconvert
packages, and the webencodings and tinycss2 packages are (solely)
dependencies of those. We can therefore disable webencodings and
tinycss2 whenever --disable-notebook is given.
  • Loading branch information
orlitzky committed Sep 8, 2023
1 parent 6ea1fe9 commit 76278ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ AC_ARG_ENABLE([cvxopt],
AC_ARG_ENABLE([notebook],
AS_HELP_STRING([--disable-notebook],
[disable build of the Jupyter notebook and related packages]), [
for pkg in notebook nbconvert beautifulsoup4 sagenb_export nbformat nbclient terminado send2trash prometheus_client mistune pandocfilters bleach defusedxml jsonschema jupyter_jsmol argon2_cffi; do
for pkg in notebook nbconvert beautifulsoup4 sagenb_export nbformat nbclient terminado send2trash prometheus_client mistune pandocfilters bleach defusedxml jsonschema jupyter_jsmol argon2_cffi webencodings tinycss2; do
AS_VAR_SET([SAGE_ENABLE_$pkg], [$enableval])
done
])
Expand Down

0 comments on commit 76278ef

Please sign in to comment.