On 10/11/2010 01:12 PM, Mike Hansen wrote:
On Mon, Oct 11, 2010 at 5:11 AM, Thierry Dumont
<tdum...@math.univ-lyon1.fr>  wrote:
I am changing my server (used by  hundreds of students...). It was base on a
old version of Sage, and I am switching to 4-5.2.

In my old version, I installed a patch to avatars.py so that Sage looks at
the ldap server of the university, and creates the user if necessary.

Is Sage always using avatars.py ?

Are you patching devel/sage/sage/server/notebook/avatars.py?  If so,
then that is the wrong file.  All of the notebook code is now in the
sagenb spkg.  When 4.6 is out, it will be easier to change the sagenb
spkg as there will be a devel/sagenb directory.  Until then, you can
just extract the spkg with "tar xvfj sagenb-0.8.x.spkg", make the
changes in there, do "sage -spkg  sagenb-0.8.x" to rebuild it, and
then do "sage -f sagenb-0.8.x.spkg" to install it.


I'm pretty sure you have to do

$ sagenb-0.8.x/spkg-dist

(or something like that) to build the spkg, not just sage -spkg sagenb-0.8.x

Jason



--
Jason Grout

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to