|
Size: 2652
Comment:
|
Size: 37
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| = The Sage-combinat patch server: basic instructions = This page describes how to install and update the Sage-combinat experimental patches. See also the [[http:/combinat/MercurialStepByStep|step by step instructions]] to contribute to sage-combinat. For advanced usage of the patch server, see http:/combinat/Mercurial. <<TableOfContents(2)>> == Download and install the Sage-combinat patches == We assume that: * Sage is already installed (say in /opt/sage) * Mercurial is already installed (sudo apt-get install Mercurial on Debian) * The user has write access on the Sage installation tree * The user has access to: http://sage.math.washington.edu:2144/ It can be possible that the Mercurial configuration file hasn't being created during the installation of Mercurial, you will have to create it and edit it before to install Sage-combinat. Open your Mercurial configuration file (~/.hgrc in your home directory), insert the following, and edit the username: {{{ [ui] username = Simon Cussonnet <Simon.Cussonnet at lycee-technique.torrez.eure.fr> [extensions] hgext.mq = extdiff = alias = [alias] qstatus = status --rev -2:. [hooks] pre-qrefresh = (echo "Are you sure you want to refresh the following changes:"; sage -hg status; echo -n "into the patch: "; hg qtop; read -p "(y/n)" answer; test "$answer" = "y" ) [extdiff] cmd.interdiff = hg-interdiff }}} /* ********* old? deletion to be confirmed ************** ********* old? deletion to be confirmed ************** Download the [[attachment:sage-combinat]] script, and run it from anywhere to download and install the Sage-combinat patches: {{{ python sage-combinat install }}} In case Sage or python is not in the user's path, you may have to specify where they are, as in: {{{ /opt/sage/sage-python sage-combinat install --sage=/opt/sage/sage }}} Note: starting from sage 3.2, we recommend using the sage-combinat script readily included in the sage distribution, and that you can run it with: ********* old? deletion to be confirmed ************ *********** old? deletion to be confirmed ************** */ Download and install the Sage-combinat patches : {{{ sage -combinat install }}} Some help is available with: {{{ /opt/sage/sage-python sage-combinat --help }}} == Update the Sage-combinat patches == {{{ sage -combinat update }}} == Upgrade Sage and update the Sage-combinat patches == {{{ sage -combinat upgrade }}} == Uninstall the Sage-combinat patches == {{{ sage -b main }}} Now, you may destroy {{{.../sage/devel/sage-combinat/}}} (after checking that you do not have local changes!) |
#REDIRECT http://wiki.sagemath.org/ |
