Ticket #13010: trac_13010.patch

File trac_13010.patch, 1.1 KB (added by was, 10 years ago)
  • sage/interfaces/mathematica.py

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1337967911 25200
    # Node ID 19ab641989626403bb4ee4ae4efdb93de31892d2
    # Parent  de5587009ecbaff5e477c6d111ec3d444402d7a3
    Trac #13010: mathematica interface message on OS X is out of date
    
    diff --git a/sage/interfaces/mathematica.py b/sage/interfaces/mathematica.py
    a b  
    449449      * APPLE OS X:
    450450          (a) create a file called math (in your PATH):
    451451              #!/bin/sh
    452               /Applications/Mathematica\ 5.2.app/Contents/MacOS/MathKernel $@
     452              /Applications/Mathematica.app/Contents/MacOS/MathKernel $@
    453453
    454           Note that the 5.2 part will depend on the version of
    455           Mathematica you have, and the above path could be different
    456           if you installed mathematica elsewhere.
     454          The path in the above script must be modified if you installed
     455          Mathematica elsewhere or installed an old version of
     456          Mathematica that has the version in the .app name.
    457457         
    458458          (b) Make the file executable.
    459459                chmod +x math