r1 - 21 Jun 2006 - 12:10:18 - HeikkiToivonenYou are here: OSAF >  Journal Web  >  ContributorNotes > HeikkiToivonenNotes > EclipePydev20060621

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...

  1. Install Eclipse
  2. Install Pydev
  3. Make an Eclipse project of the chandler/ dir (I used Subclipse for Eclipse to checkout)
  4. quit Eclipse
  5. type 'make install' on the command line in chandler/ dir
  6. export PATH=`pwd`/release/bin:$PATH
  7. eclipse&
  8. Window > Preferences... > Pydev > Builders: [x] Use builders
  9. Window > Preferences... > Pydev > Code Completion: [x] Use code completion, [x] autocomplete on '.'
  10. Window > Preferences... > Pydev > Interpreter - Python
  11. 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)
  12. Right-click on chandler project in the Navigator window and select Properties
    1. Pydev project type: Python 2.4
    2. Pydev python path: Add 3 source folders (/chandler, /chandler/parcels, /chandler/release/bin/Lib/site-packages )

-- HeikkiToivonen - 21 Jun 2006

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r1 | More topic actions
 
Open Source Applications Foundation
Except where otherwise noted, this site and its content are licensed by OSAF under an Creative Commons License, Attribution Only 3.0.
See list of page contributors for attributions.