The followings import statements:

import autopath
from src.pyinotify.pyinotify import ...

are needed when pyinotify is used from its own directory (without
installation), in this case autopath [1] does the job. You only need
to import autopath first, and be in a subdir of src/

However, once you have installed pyinotify (python setup.py install)
these directives aren't required anymore, and you can import
pyinotify like any other module:

from pyinotify import ...



[1] from pypy: http://codespeak.net/svn/pypy/dist/pypy/tool/autopath.py
