
Get Started: Eclipse and Python with PyDev in Developer Toolset 4.0
Starting from Developer Toolset 4.0 we have added the Eclipse PyDev tooling for writing and debugging Python applications. This article aims to give new users a whirlwind tour of some of the key features.
Installing and Configuring
PyDev is installed by default when you install the IDE component of DTS 4.0:
$ sudo yum install devtoolset-4-ide
Once you’ve launched Eclipse, the first thing you need to do is configure an interpreter to use. Open the preferences dialog by choosing “Preferences” from the “Window” menu, then navigate to the “PyDev -> Interpreters -> Python Interpreter” preference node. Simply hit the “Quick Auto-Config” button to automatically discover and configure the first Python interpreter that is encountered in your PATH.
It’s worth knowing that not only does PyDev work well with the default version of Python that ships with RHEL, it also works with the Python Software Collections. For example, if you’d like to work with Python 3 then you can also install the rh-python34 software collection:
$ sudo yum install rh-python3
Continue reading “Get Started: Eclipse and Python with PyDev in Developer Toolset 4.0”