From f7c495ad12be3e528704aad0b2430582ead47f11 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Tue, 16 Feb 2016 20:52:51 +0100 Subject: [PATCH] debian: do not compress notebooks So that they can be loaded by ipython directly. * debian/rules: Exclude *.ipynb from compressed files. --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index d032f4937..4d2bdaf61 100755 --- a/debian/rules +++ b/debian/rules @@ -86,6 +86,10 @@ override_dh_auto_build: dh_auto_build $(MAKE) -C tests nb-html +# https://mail.scipy.org/pipermail/ipython-user/2015-August/014016.html +override_dh_compress: + dh_compress -X.ipynb + fix-mathjax: perl -pi -e 's|http://orgmode.org/mathjax/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' doc/userdoc/*.html perl -pi -e 's|https://cdn.mathjax.org/mathjax/latest/MathJax.js|file:///usr/share/javascript/mathjax/MathJax.js|' tests/python/*.html