views:

67

answers:

2
+2  A: 

You don't need to do anything special. I'm on Ubuntu rather than Mac, and I've installed wxPython, so that

python -c "import wx"

works at a shell prompt. Then, just fire up Eclipse and create a PyDev project, do import wx in your code and start using the wxPython API. You should get method completion etc. working as you edit your code, and you can also use the debugger and set breakpoints etc.

Vinay Sajip
+2  A: 

Vinay's answer above is correct. However, if code completion is not picking it up, you might need to add the WX directory to the Pydev's interpreter library path.

Window | Preferences | Pydev | Interpreter - Python | Libraries

If wx is not present, New Folder and select the install directory.

Mark