=================
Eclipse and PyDev
=================

`Eclipse <http://www.eclipse.org/downloads/>`_ is an open source platform that provides an array of convenient
and powerful code-editing and debugging tools. `PyDev <http://pydev.org/>`_ is a Python IDE that runs on top of Eclipse. 

If you do not already have Eclipse and PyDev installed:

* `Download Eclipse <http://www.eclipse.org/downloads/>`_ and read the `Eclipse resources <http://www.eclipse.org/resources/>`_.
* You may need to install the latest `Java JDK/JRE <http://www.oracle.com/technetwork/java/javase/downloads/index.html>`_ 
  before installing PyDev in order for PyDev to show up in the Eclipse Preferences menu after PyDev installation.
* `Install PyDev <http://pydev.org/manual_101_install.html>`_.

After you have Eclipse, PyDev, and Anaconda installed, set Anaconda Python as your 
default:


#. Open the Eclipse Preferences window:

   .. figure:: /img/Eclipse1.png
      :height: 200px

      ..

   |


#. In the PyDev list, select Interpreters, and then select Python Interpreter.

#. Click the New button:

   .. figure:: /img/Eclipse2.png
      :height: 300px   

      ..

   |


#. In the Interpreter Name box, type ``Anaconda Python``.

#. Browse to your :ref:`Anaconda Python interpreter path <python-path>`.

#. Click the OK button:

   .. figure:: /img/Eclipse3.png
      :height: 150px

      ..

   |


#. In the next window, select the folders to add to the SYSTEM python path:

   #. Select all the folders:


      .. figure:: /img/Eclipse4.png
         :height: 300px   

         ..

      |

   #. Click the OK button.

      The Python Interpreters window now displays Anaconda Python:

      .. figure:: /img/Eclipse5.png
         :height: 300px   

         ..

      |

   #. Click the OK button. 

You are now ready to use Anaconda Python with your Eclipse and PyDev
installation.
