[sagenb] 10/179: Trac 10637 reviewer patch
felix salfelder
felix-guest at moszumanska.debian.org
Tue May 6 12:05:05 UTC 2014
This is an automated email from the git hooks/post-receive script.
felix-guest pushed a commit to branch master
in repository sagenb.
commit 181bc34e55286d0947d7604dd8cc5f621ed65bbe
Author: Karl-Dieter Crisman <kcrisman at gmail.com>
Date: Thu Jun 21 21:14:10 2012 -0400
Trac 10637 reviewer patch
More accurate error message if BeautifulSoup is not installed
---
sagenb/misc/comments2rst.py | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/sagenb/misc/comments2rst.py b/sagenb/misc/comments2rst.py
index ebbb809..77f812e 100644
--- a/sagenb/misc/comments2rst.py
+++ b/sagenb/misc/comments2rst.py
@@ -21,9 +21,16 @@ try:
except ImportError:
raise ImportError, """BeautifulSoup must be installed.
-You might download a spkg from:
+Please either install using Sage spkg installation
-http://trac.sagemath.org/sage_trac/raw-attachment/ticket/10637/beautifulsoup-3.2.0.p0.spkg
+ sage -i beautifulsoup
+
+or by using one of
+
+ pip install BeautifulSoup
+ easy_install BeautifulSoup
+
+in the Sage shell (sage --sh).
"""
def preprocess_display_latex(text):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagenb.git
More information about the debian-science-commits
mailing list