Hi,

did you add something within $SAGE_ROOT/src/sage/all.py ?

Ciao,
Thierry

On Sun, Jun 03, 2018 at 04:51:45AM -0700, Jupiter Crafter wrote:
> Hey I have the following question,
> I tried to install a few functions into the Sage/src Directory but however 
> they didn't show up in Sage.
> I have created a Folder in the src/Sage Directory which has the following 
> files:
> 
> __init__.py:
> import all
> 
> 
> all.py:
> 
> from .test import myAdd
> 
> 
> 
> test.py:
> 
> 
> def myAdd(x, y):
>  r"""
>  return x + y
>  """
>  return x + y
> 
> 
> 
> After rebuilding with sage -b, I see in the console Sage is moving the 
> package somewhere else but I can't make it default when I run sage
> I have to do: import sage.myFolder.all
> 
> How can I create a permanent function Library for Sage so I can simply use 
> the Function myAdd(3,4) after loading sage and not include something.
> 
> Thanks in advance 
> 
> -- 
> 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 https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to