On Mar 2, 6:09 am, Phaedon Sinis <phaedonsi...@gmail.com> wrote:
> Thanks Carl,
Hi Phaedon,
> I am pretty sure I used a relative pathname...
No, you didn't: "hg_sage.add('/finance/FinanceDate.py')" - i.e. don't
use the '/' at the start.
> the only command I
> typed was the first line. The "cd" command was produced by sage; this
> was in fact the only pathname that would actually find the file.
>
> When I use an absolute pathname instead, the error is:
>
> "finance/FinanceDate.py does not exist!"
>
> instead of
>
> "abort: /finance/FinanceDate.py not under root"
You need to add 'sage/finance/FinanceDate.py'
sage: hg_sage.status()
Getting status of modified or unknown files:
cd "/Users/michaelabshoff/Desktop/sage-3.4.alpha0-64/devel/sage" && hg
status
? sage/finance/foo.py
sage: hg_sage.add("sage/finance/foo.py")
Adding file sage/finance/foo.py
cd "/Users/michaelabshoff/Desktop/sage-3.4.alpha0-64/devel/sage" && hg
add "sage/finance/foo.py"
sage: hg_sage.status()
cd "/Users/michaelabshoff/Desktop/sage-3.4.alpha0-64/devel/sage" && hg
status
A sage/finance/foo.py
As a general rule of thunb I would *not* recommend to use any binary
for development, but get the sources and build them once. The binary
should work, but if you build from sources you have spkgs instead of
placeholders and upgrading will work better.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---