I have a project to write plug-ins for gimp. Therefore I need to include python source code from /usr/lib/gimp/2.0. This directory contains several subdirectories with python code, including gimpfu.py. In my plug-in I have to import from this file.
I tried to add this directory as a module dependency, but the gimpfu import is not recognized. When I select this directory I have to Choose Categories of Selected Files, but these are java files, not python.
How do I include these extra python code in my project?