#!/usr/bin/python2 -s

"""
Enki. A text editor for programmers
Unix entry point. See also enki-editor.pyw.
"""

import sys
import os.path

"""
When script is executed from the source tree, it shall import enki package, which is one level higher.
First item in sys.path points to script location
"""
sys.path.insert(0, os.path.join(sys.path[0], '..'))

import enki.main

if __name__ == '__main__':
    sys.exit(enki.main.main())
