Hi Serge,

On Tue, Mar 2, 2010 at 10:23 AM, Serge A. Salamanka <[email protected]> wrote:
> Hello,
>
> How to properly remove a package ?
> In documentation there is no mention on how to do that.

I think that's because there is as yet no automatic way to remove a
package, so no documentation on how to (automatically) remove a
package, whether it be standard, optional or experimental.


> Particularly, I'd like to remove sagenb-0.7.5.1 from my Sage installation.
> Should I just remove the directory sagenb in
> sage-4.3.3/local/lib/python2.6/site-packages/sagenb-0.7.5.1-py2.6.egg ?

Yes.


> After that I need to build a distribution without sagenb.

That can involve more work than simply removing the SageNB spkg as per
the above instruction. In particular, the file

SAGE_ROOT/spkg/install

creates the SageNB environment variable as follows:

SAGENB=`$newest sagenb`
export SAGENB

You also need to have a look at the file

SAGE_ROOT/spkg/standard/deps

which contains the dependency rules for building all standard spkg's.

-- 
Regards
Minh Van Nguyen

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to