[sagenb] 37/157: update instructions for modifying sagenb in HACKING.rst

felix salfelder felix-guest at moszumanska.debian.org
Mon Dec 22 16:51:46 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 d332566b83490c95862cdfa7efd1eb74e3e2bc15
Author: Punarbasu Purkayastha <ppurka at gmail.com>
Date:   Sun Aug 31 00:52:04 2014 +0800

    update instructions for modifying sagenb in HACKING.rst
---
 HACKING.rst | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/HACKING.rst b/HACKING.rst
index 6d8326f..a7c46a0 100644
--- a/HACKING.rst
+++ b/HACKING.rst
@@ -26,12 +26,14 @@ how to do this are as follows.
         $ git clone git at github.com:<your username>/sagenb sagenb
 
 #.  Where ``$SAGE_ROOT`` represents the base path of your Sage
-    installation, perform the following commands::
-
-        $ cd $SAGE_ROOT/devel
-        $ rm sagenb
-        $ ln -s ~/src/sagenb sagenb     # or wherever your clone is
-        $ cd sagenb
+    installation, perform the following commands. If you have more than one
+    sagenb installation in ``$SAGE_ROOT/local/lib/python/site-packages``,
+    then change directory into the latest version::
+
+        $ cd $SAGE_ROOT/local/lib/python/site-packages/sagenb-*
+        $ mv sagenb sagenb-old
+        $ ln -s ~/src/sagenb/sagenb sagenb  # or wherever your clone is
+        $ cd ~/src/sagenb
         $ $SAGE_ROOT/sage --python setup.py develop
 
 #.  You can also add the `sagenb`_ git repository as a remote branch

-- 
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