On Dec 17, 2007, at 10:52 , Robert Bradshaw wrote:
>
>
> On Dec 17, 2007, at 10:50 AM, Stephen Forrest wrote:
>
>>
>> On Dec 17, 2007 1:27 PM, Robert Bradshaw
>> <[EMAIL PROTECTED]> wrote:
>>
>>> IIRC, It's an .app, but inside the .app folder there's a executable
>>> file "maple" that one can invoke from the command line works as one
>>> would expect. On OS X one can use spotlight (also accessible from
>>> the
>>> shell) to locate such things fairly rapidly.
>>
>> On my installation of Maple 10 on OSX, there is a directory tree
>> /Applications/Maple 10/Maple 10.app, but there isn't much inside it:
>> just the usual OSX stuff (Info.plist), some documentation, and some
>> jar files.
>>
>> Most of the important content lives in
>> /Library/Frameworks/Maple.framework/Versions/10/. The maple
>> binary is
>> at /Library/Frameworks/Maple.framework/Versions/10/bin/maple.
>
> I stand corrected. This is good news--it always shows up in the same
> place for OS X.
Well, sort of good news.
For Maple, you have to know about '10', or assume that 'current' (cf.
William's earlier msg) points to the one you want to run [probably a
reasonable assumption].
However, for Mathematica, the actual executable is in the .app bundle
(as it should be; I think Maple is doing it wrong [but I'm not an
expert]), and the bundle can sit anywhere. There is the standard "/
Applications", but often, users will stuff after-market apps away in
other directory trees (such as "~", or on a mounted volume that
survives repeated installations of the OS). The Finder tracks all
this, and one can hope that the API is (a) available and (b) scriptable.
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
Well, except the weasel."
- Homer J Simpson
--------
--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---