Skip to content

Commit 76278ef

Browse files
committed
configure.ac: disable webencodings,tinycss2 with --disable-notebook
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.
1 parent 6ea1fe9 commit 76278ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ AC_ARG_ENABLE([cvxopt],
473473
AC_ARG_ENABLE([notebook],
474474
AS_HELP_STRING([--disable-notebook],
475475
[disable build of the Jupyter notebook and related packages]), [
476-
for pkg in notebook nbconvert beautifulsoup4 sagenb_export nbformat nbclient terminado send2trash prometheus_client mistune pandocfilters bleach defusedxml jsonschema jupyter_jsmol argon2_cffi; do
476+
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
477477
AS_VAR_SET([SAGE_ENABLE_$pkg], [$enableval])
478478
done
479479
])

0 commit comments

Comments
 (0)