Opened 13 years ago
Closed 12 years ago
#1731 closed enhancement (fixed)
Sage mac app
Reported by: | was | Owned by: | mabshoff |
---|---|---|---|
Priority: | major | Milestone: | sage-3.3 |
Component: | distribution | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
From NASA:
Hi, Thanks for Sage - it's awesome. I need to convince my coworkers to switch from their proprietary programs to Sage. I've attached a little script that uses the Platypus program (http://www.sveinbjorn.org/software) to bundle the sage directory into a clickable Mac application. It has some code to update the SAGE_ROOT variable so that things still work if a user drags the program around. My code is public domain, so feel free to use it if you like it.
Attachments (1)
Change History (8)
Changed 13 years ago by
comment:1 Changed 13 years ago by
- Milestone set to sage-2.10
comment:2 Changed 13 years ago by
- Summary changed from SAge mac app to [with code] Sage mac app
comment:3 Changed 13 years ago by
comment:4 Changed 13 years ago by
Please check out http://wiki.sagemath.org/SageMacApplication for more information on the whole "Sage Application on OSX" issue.
Cheers,
Michael
comment:5 Changed 13 years ago by
In https://groups.google.com/group/sage-support/t/9bff2799e1ae4885 Greg Landweber suggested:
You don't need any fancy droplets or applets. You can just use the following AppleScript to activate Sage (take this script and save it as an AppleScript application, then put it in the same directory as the "sage" UNIX executable): tell application "Finder" set myFolder to container of (path to me) as string end tell tell application "Terminal" activate do script (POSIX path of myFolder) & "sage" end tell If on the other hand you want to start the notebook and don't need the terminal window in front, you can use the following AppleScript to open a terminal window in the background and start Sage in notebook mode: tell application "Finder" set myFolder to container of (path to me) as string end tell tell application "Terminal" do script (POSIX path of myFolder) & "sage --notebook" end tell What else did you folks have in mind in terms of Mac OS X integration? -- Greg
Cheers,
Michael
comment:6 Changed 12 years ago by
- Type changed from defect to enhancement
comment:7 Changed 12 years ago by
- Milestone changed from sage-3.4.1 to sage-3.3
- Resolution set to fixed
- Status changed from new to closed
- Summary changed from [with code] Sage mac app to Sage mac app
Note: See
TracTickets for help on using
tickets.
Some more info from http://groups.google.com/group/sage-devel/t/c181f8ccde549cdd: