Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
#17288 make mathjax a dependency of sagenb
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Monteil committed Nov 7, 2014
1 parent 0443d99 commit 8ec7d5c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/deps
Expand Up @@ -447,7 +447,8 @@ $(INST)/$(ZNPOLY): $(INST)/$(MPIR) $(INST)/$(PYTHON)
+$(PIPE) "$(SAGE_SPKG) $(ZNPOLY) 2>&1" "tee -a $(SAGE_LOGS)/$(ZNPOLY).log"

$(INST)/$(SAGENB): $(INST)/$(PYTHON) $(INST)/$(SETUPTOOLS) $(INST)/$(PEXPECT) \
$(INST)/$(JINJA2) $(INST)/$(SPHINX) $(INST)/$(DOCUTILS)
$(INST)/$(JINJA2) $(INST)/$(SPHINX) $(INST)/$(DOCUTILS) \
$(INST)/$(MATHJAX)
+$(PIPE) "$(SAGE_SPKG) $(SAGENB) 2>&1" "tee -a $(SAGE_LOGS)/$(SAGENB).log"

$(INST)/$(SQLALCHEMY): $(INST)/$(PYTHON) $(INST)/$(SETUPTOOLS)
Expand Down
11 changes: 11 additions & 0 deletions build/pkgs/sagenb/spkg-install
Expand Up @@ -46,3 +46,14 @@ PKG=$(ls -1 src | GREP_OPTIONS= grep sagenb-)

# Install sagenb into site-packages
easy_install -H None "src/$PKG" || die "Error installing sagenb !"

# let sagenb use mathjax spkg
cd $SAGE_LOCAL/lib/python/site-packages/sagenb-*.egg/sagenb/data
if [ -d mathjax ] ; then
rm -rf mathjax
fi
if [ -h mathjax ] ; then
rm mathjax
fi
ln -s ../../../../../../share/mathjax/

0 comments on commit 8ec7d5c

Please sign in to comment.