- Download "eclipse classic" from http://www.eclipse.org/downloads
- Unpack the tarball, which will be an 'eclipse' folder
- Move the 'eclipse' folder to /opt (for the long-term, not just in your downloads folder)
- Make an alias from the Eclipse app into /Applications
- Run eclipse
- Go to Help > Software Updates > Available Software and click "Add Site..."
enter: http://pydev.sourceforge.net/updates/ - Check the new site, including "PyDev for Eclipse" among its children
- Click the "Install..." button, and go through all the prompts including restarting eclipse
- Open Eclipse > Preferences > PyDev > Interpreter - Python
- Click the "New..." button
- Navigate in the finder open dialog to select /System/Library/Frameworks/Python.framework/Versions/2.5/bin/python2.5
(tip: Use Cmd-Shift-G and paste in the directory, then select python2.5) - Leave the default checked items for PYTHONPATH and click OK (you can edit it later if you need to)
If you're doing an AppEngine app, you can add this to your PYTHONPATH:
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine
No comments:
Post a Comment