def get_project_root():
try:<EOL><INDENT>tasks_py = sys.modules['<STR_LIT>']<EOL><DEDENT>except KeyError:<EOL><INDENT>return None<EOL><DEDENT>else:<EOL><INDENT>return os.path.abspath(os.path.dirname(tasks_py.__file__))<EOL><DEDENT>
Determine location of `tasks.py`.