# Public License as described in the bup LICENSE file.
from __future__ import absolute_import, print_function
-import sys, stat, errno
+import errno, os.path, sys, stat
+
+sys.path[:0] = [os.path.dirname(os.path.realpath(__file__)) + '/..']
from bup import compat, metadata, options, xstat
from bup.compat import argv_bytes