To make spyder callable from Spotlight or Finder:
-
Locate where your spyder executable is by running in Terminal:
which spyderThis should yield
~/anaconda/bin/spyderif you installed spyder via Anaconda,/opt/local/bin/spyderif you used MacPorts or something similar. -
Create a file called
spyderin yourApplicationsdirectory and make it executable. Then, fill it with the output of the previous command, followed by a&; exit:touch /Applications/spyder chmod +x /Applications/spyder echo -e '#!/bin/bash'"\n~/anaconda/bin/spyder &\nexit" >> /Applications/spyder(if you use a different shell (e.g.
tcsh), replacebashby that) -
Under Terminal -> Preferences -> Profiles -> “default profile” -> Shell -> When the shell exits: Select “Close if the shell exited cleanly”
Optional:
-
Download the spyder Icon from here and open it in Preview. Copy its contents by hitting cmd+C.
-
In Finder, locate
/Applications/spyderand open its “Get Info” pane by hitting cmd+I. Select the icon in the top left corner with your mouse and hit cmd+V.