PyDev plugin development with eclipse 4,2 and python3.3.2

Eclipse 4.2

Eclipse is an application for building integrated web application developments, designed with a common user interface and tools to work in multiple operating systems. The latest top-level source code contains applications for the development environment such as IDE and the eclipse (RCP) rich client platform. Each developed plug-in has the capability of performing small independent tasks like debugging, and testing.

Pydev

PyDev is a Python IDE for Eclipse, which may be used in Python, Jython and IronPython development.

Python3.3

Python, is an interactive, object-oriented, extensible programming language, widely used for interacting with top-level applications that emphasize code readability. It also supports code reuse for modules and application packages.

Get the lastest eclipse 4.2 for 32 bit or 64 bit downloaded in your a folder the your (/) opt folder; Extract the components using the tar and input the next commands.

tar -xvf /opt/eclipse-SDK-4.2.2-linux-gtk.tar.gz
cd /opt
sudo chown -R root:root eclipse
sudo chmod -R +r eclipse

create a python executable path

sudo touch /usr/bin/eclipse
sudo chmod 775 /usr/bin/eclipse

edit the newly created file to act as an executable path with the text below

#!/bin/sh
 #export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
 export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*

You can launch eclipse for the first time using the Alt+F2 command and typing the text

/opt/eclipse/eclipse -clean &

or alternatively,

you can also create a permanent gnome icon menu to help easily access eclipse using vi to edit and create the file /usr/share/applications/eclipse.desktop and inserting the text below ;

[Desktop Entry]
 Encoding=UTF-8
 Name=Eclipse
 Comment=Eclipse IDE
 Exec=eclipse
 Icon=/opt/eclipse/icon.xpm
 Terminal=false
 Type=Application
 Categories=GNOME;Application;Development;
 StartupNotify=true

once you have installed eclipse, proceed with retrieving python 3.3 sources and compile the program; into your download area,

cd /home/downloads
tar -xvjf Python-3.3.2.tar.bz2
cd Python-3.3.2
./configure --prefix=/usr \ --enable-shared \ --with-system-expat \ --with-system-ffi \

make

get root privileges and install python

# make install && chmod -v 755 /usr/lib/libpython3.3m.so && chmod -v 755 /usr/lib/libpython3.so

In your newly installed eclipse program, locate the help menu and open the install new software common interface (ui). type PyDev – http://pydev.org/updates and press the button Add… Then check the first option PyDev and click Next After the installation, configure PyDev from the Window  Preferences Menu and select Interpreter-Python. From eclipse’s common interface New dialogue box. To open pythons interpreter executable, browse to your copy of Python/usr/local/bin/python3.2 folder.
Related articles

Python development environment (Eclipse+PyDev) (samkhan13.wordpress.com)
Need help with PyDev (daniweb.com)
Code coverage module is missing under Ubuntu / Eclipse / PyDev. (danapordel.wordpress.com)
Debug Openstack code Local / Remote with Eclipse and PyDev Plug-In (ilearnstack.com)

Advertisements

Comments are closed.

%d bloggers like this: