Using Eclipse and Pydev to develop Chandler
I like using Eclipse with the Pydev plugin to do Chandler development. I mainly do this on Windows, but I had it working on Debian at some point. Nowadays you should be able to install Eclipse via Ubuntu and Debian package managers as well.
My copy of Eclipse is 3.1.2, but you should note that the latest Pydev is no longer supported for 3.1.x. Eclipse 3.2 release is scheduled within days...
- Install Eclipse
- Install Pydev
- Make an Eclipse project of the chandler/ dir (I used Subclipse for Eclipse to checkout)
- quit Eclipse
- type 'make install' on the command line in chandler/ dir
- export PATH=`pwd`/release/bin:$PATH
- eclipse&
- Window > Preferences... > Pydev > Builders: [x] Use builders
- Window > Preferences... > Pydev > Code Completion: [x] Use code completion, [x] autocomplete on '.'
- Window > Preferences... > Pydev > Interpreter - Python
- Window > Preferences... > Pydev > Pylint: [x] Use pylint, Location of lint.py (in Chandler site-packages, for example: C:\builds\eclipse\chandler\release\bin\Lib\site-packages\pylint\lint.py)
- Right-click on chandler project in the Navigator window and select Properties
- Pydev project type: Python 2.4
- Pydev python path: Add 3 source folders (/chandler, /chandler/parcels, /chandler/release/bin/Lib/site-packages )
-- HeikkiToivonen - 21 Jun 2006