def syspath_prepend(self, path):
from pkg_resources import fixup_namespace_packages<EOL>if self._savesyspath is None:<EOL><INDENT>self._savesyspath = sys.path[:]<EOL><DEDENT>sys.path.insert(<NUM_LIT:0>, str(path))<EOL>fixup_namespace_packages(str(path))<EOL>if sys.version_info >= (<NUM_LIT:3>, <NUM_LIT:3>):<EOL><INDENT>from importlib import invalidate_caches<EOL>invalidate_caches()<EOL><DEDENT>
Prepend ``path`` to ``sys.path`` list of import locations.