On 2014-02-28, Jesus Escribano <jesus...@gmail.com> wrote:
> Hello
> thank you for your answer. Sorry for asking again, I'm not an expert in 
> this subject.
>
> I understand I should change the Makefile, introducing the line
>
> *canvas3d       = *
> *$(sage-root)/local/lib/python/site-packages/sagenb-0.10.*.egg/sagenb/data/sage/js/canvas3d_lib.js
>  *
>
> But .. how can I do this? The Makefile is in the sagecell-2013-08-12 
> package, isn't it? I think that I could do the following:
>
> 1. Open the sagecell-2013-08-12 package (I'm not sure how)
> 2. Modify the Makefile
> 3. Create a new sagecell package (again, I'm not sure how).
>
.spkg is just a bizp2 compressed tarfile.
To you untar it using tar, modify Makefile, and create an updated spkg
using "sage -pkg" command.

That is, 
$ tar xjf sagecell-2013-08-13.spkg
$ cd sagecell-2013-08-13/src/sagecell/
$ vi Makefile
$ cd ../../../
$ sage -pkg agecell-2013-08-13

now you can reinstall sagecell by doing

$ sage -f sagecell-2013-08-13.spkg

HTH,
Dima

>
> Is this correct? 
>
> Thank you again. Perhaps I'm asking obvious things.
>
> Jesús
>
>
> El miércoles, 26 de febrero de 2014 23:41:12 UTC+1, jason escribió:
>>
>> On 2/26/14 4:18 PM, Jesus Escribano wrote: 
>> > Hello 
>> > yes, you are right. The path is slightly different: 
>> > 
>> > 
>> /home/sagecell/sage/local/lib/python2.7/site-packages/sagenb-0.10.7.2-py2.7.egg/sagenb/data/sage/js/canvas3d_lib.js
>>  
>>
>> > 
>> > (that is, python2.7 instead of python) 
>> > 
>> > Should I change it in the makefile? 
>> > 
>>
>> Sure.  This is what is currently in the Makefile: 
>>
>> canvas3d       = 
>> $(sage-root)/local/lib/python/site-packages/sagenb-0.10.*.egg/sagenb/data/sage/js/canvas3d_lib.js
>>  
>>
>>
>>
>> That should be path-agnostic.  It's possible that the sagecell spkg from 
>> August had a more specific path.  Perhaps I should just create a new spkg. 
>>
>> Thanks, 
>>
>> Jason 
>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to