title: Setup of PyDev and Eclipse for Blender Add-Ons
body: <p>I followed the instructions in this <a href="http://airplanes3d.net/pydev-000_e.xml" rel="nofollow noreferrer">ebook Programming Add-Ons for Blender 2.5</a> to setup a development environment. </p>
  
  <p>Currently I try to debug an installed <a href="http://dm.tzi.de/bloop/" rel="nofollow noreferrer">add-on called Bloop</a> although it seems to work, eclipse still shows many error messages like:</p>
  
  <pre><code>class Mapping(object):
  
      def __init__(self, joint=None, id=None, bone=None, other=None):
          ...
          self.bone_matrix = bpy.bloop.armature.matrix_world.inverted() * self.bone.bone.matrix_local.inverted()
                                 ^^^^
                                 ErrorMsg: Undefined variable from import: bloop
  </code></pre>
  
  <p>The external libraries are configured as follows:</p>
  
  <p><img src="https://i.stack.imgur.com/Gx0xY.png" alt="enter image description here"></p>
  
  <p>Blenders version is 2.67, the add-on was developed for 2.59. I have absolutely no experience with Python in blender.</p>
  
  <p>Another type of errors is:</p>
  
  <pre><code>Unresolved import: MappingSet   bloop.py
  
  from .mapping_set import MappingSet
  </code></pre>
  
  <p>Where MappingSet is in the same folder as bloop.py which tries to import.</p>
  
  <p>The projects structure is as follows (I don't have a source folder since I want to edit in place)</p>
  
  <p><img src="https://i.stack.imgur.com/L6aD7.png" alt="enter image description here"></p>
  
  <p>What am I doing wrong?</p>
  
  <p>A workaround to suppress at least the error messages is using #@UnresolvedImport and #@UndefinedVariable at the end of those lines.</p>